StreamChannelCompleter<T> class

A channel where the source and destination are provided later.

The channel is a normal channel that can be listened to and that events can be added to immediately, but until setChannel is called it won't emit any events and all events added to it will be buffered.

Constructors

StreamChannelCompleter()

Properties

channel StreamChannel<T>
The channel for this completer.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setChannel(StreamChannel<T> channel) → void
Set a channel as the source and destination for channel. [...]
setError(dynamic error, [StackTrace stackTrace]) → void
Indicates that there was an error connecting the channel. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

fromFuture(Future<StreamChannel> channelFuture) StreamChannel
Convert a Future<StreamChannel> to a StreamChannel. [...]