S, T> class
A StreamSinkTransformer transforms the events being passed to a sink.
This works on the same principle as a StreamTransformer. Each transformer defines a bind method that takes in the original StreamSink and returns the transformed version. However, where a StreamTransformer transforms events after they leave the stream, this transforms them before they enter the sink.
Transformers must be able to have
bind called used multiple times.
EventSink< T> ), void handleError(Object, StackTrace, EventSink< T> ), void handleDone(EventSink< T> )} )
Creates a StreamSinkTransformer that delegates events to the given
S, T>transformer )
Creates a StreamSinkTransformer that transforms events and errors