captureSinkTransformer constant

StreamSinkTransformer<Object, Result<Object>> const captureSinkTransformer = const StreamSinkTransformer<Object, Result<Object>>.fromStreamTransformer(const CaptureStreamTransformer<Object>())

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

captureSinkTransformer =
const StreamSinkTransformer<Object, Result<Object>>.fromStreamTransformer(
    const CaptureStreamTransformer<Object>())