ReceiverImpl<T> class

Implemented types
Annotations
  • @Deprecated("Internal. Do not use, this exposed for compatibility with web.")

Constructors

ReceiverImpl.internal(Stream<T> stream, Future _onDone())

Properties

hashCode int
The hash code for this object.
no setterinherited
isBufferEmpty bool
no setteroverride
isClosed bool
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

iter() Iter<T>
Returns an Iter that drains the current buffer.
override
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:
override
recvTimeout(Duration timeLimit) Future<Result<T, RecvTimeoutError>>
Attempts to wait for a value on this receiver with a time limit, returning Err of:
override
stream() Stream<T>
Returns a Stream of values ending once DisconnectedError is yielded.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited