changeStream method

StreamChannel<T> changeStream (
  1. Stream<T> change(
    1. 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)) =>
    StreamChannel.withCloseGuarantee(change(stream), sink);