LocalReceiver<T> class
Receiver for a single isolate.
- Implemented types
-
- Receiver<
T>
- Receiver<
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBufferEmpty → bool
-
no setterinherited
- isClosed → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future - Stops any more messages from being sent.
-
iter(
) → Iter< T> -
Returns an Iter that drains the current buffer.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recv(
) → Future< Result< T, RecvError> > -
Attempts to wait for a value on this receiver, returning
Err
of:inherited -
recvTimeout(
Duration timeLimit) → Future< Result< T, RecvTimeoutError> > -
Attempts to wait for a value on this receiver with a time limit, returning
Err
of:inherited -
stream(
) → Stream< T> -
Returns a Stream of values ending once DisconnectedError is yielded.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited