S, T> class
Transformers must be able to have bind called multiple times. If a subclass implements bind explicitly, it should be sure that the returned stream follows the second stream channel guarantee: closing the sink causes the stream to close before it emits any more events. This guarantee is invalidated when an asynchronous gap is added between the original stream's event dispatch and the returned stream's, for example by transforming it with a StreamTransformer. The guarantee can be easily preserved using StreamChannel.withCloseGuarantee.
T, S>_streamTransformer, StreamSinkTransformer< S, T>_sinkTransformer )
Creates a StreamChannelTransformer from existing stream and sink
S, T>codec )
- Creates a StreamChannelTransformer from a codec's encoder and decoder. [...]
StreamChannel< T>channel ) → StreamChannel< S>
Transforms the events sent to and emitted by
Invocation invocation ) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → String
Returns a string representation of this object.