SendPort class

Sends messages to its ReceivePorts.

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

Constructors

SendPort()

Instance Properties

hashCode int
read-only

Instance Methods

send(message) → void
Sends an asynchronous message through this send port, to its corresponding ReceivePort.

Operators

operator ==(other) → bool
Tests whether other is a SendPort pointing to the same ReceivePort as this one.