captureSinkTransformer constant
A sink transformer that captures events into Results.
The result of the transformation is a sink that only forwards Result values and no error events.
Implementation
static const StreamSinkTransformer<Object, Result<Object>>
captureSinkTransformer =
StreamSinkTransformer<Object, Result<Object>>.fromStreamTransformer(
CaptureStreamTransformer<Object>());