EventSinkEx<T> extension

on

Methods

mapFrom<R>(T mapper(R)) → StreamSink<R>

Available on EventSink<T>, provided by the EventSinkEx extension

Creates a new StreamSink<R> that maps its incoming values of type R to type T using the provided mapper function, and then adds them to this sink.