changeStream method

StreamChannel<T> changeStream (Stream<T> change(Stream<T> stream))
override

Returns a copy of this with stream replaced by change's return value.

Implementation

StreamChannel<T> changeStream(Stream<T> change(Stream<T> stream)) =>
    new StreamChannel.withCloseGuarantee(change(stream), sink);