transform<S> method

StreamChannel<S> transform <S>(StreamChannelTransformer<S, T> transformer)
override

Transforms this using transformer.

This is identical to calling transformer.bind(channel).

Implementation

StreamChannel<S> transform<S>(StreamChannelTransformer<S, T> transformer) =>
    transformer.bind(this);