captureStreamTransformer constant
A stream transformer that captures a stream of events into Result
s.
The result of the transformation is a stream of Result
values and no
error events. This is the transformer used by captureStream.
Implementation
static const StreamTransformer<Object, Result<Object>>
captureStreamTransformer = CaptureStreamTransformer<Object>();