bind method
Transforms the events sent to and emitted by channel.
Implementation
StreamChannel<S> bind(StreamChannel<T> channel) =>
StreamChannel<S>.withCloseGuarantee(
channel.stream.transform(_streamTransformer),
_sinkTransformer.bind(channel.sink));