changeStream method

  1. @override
StreamChannel<String> changeStream(
  1. Stream<String> change(
    1. Stream<String>
    )
)
inherited

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

Implementation

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