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
- Creates a StreamChannelTransformer from a codec's encoder and decoder.