Spec-Zone.ru › Dart 1

dart:isolate

SendPort abstract class

Sends messages to its ReceivePorts.

SendPorts are created from ReceivePorts. Any message sent through a SendPort is delivered to its corresponding ReceivePort. There might be many SendPorts for the same ReceivePort.

SendPorts can be transmitted to other isolates, and they preserve equality when sent.

Implements
  • Capability

Constructors

SendPort()

Properties

hashCode → int
read-only

Returns an immutable hash code for this send port that is consistent with the == operator.

runtimeType → Type
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool

Tests whether other is a SendPort pointing to the same ReceivePort as this one.

Methods

send(message) → void

Sends an asynchronous message through this send port, to its corresponding ReceivePort.

noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns a string representation of this object.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-isolate/SendPort-class.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API