bind method

StreamSink<S> bind (StreamSink<T> sink)

Transforms the events passed to sink.

Creates a new sink. When events are passed to the returned sink, it will transform them and pass the transformed versions to sink.

Implementation

StreamSink<S> bind(StreamSink<T> sink);