EitherExtension<T> extension
- on
Methods
-
wrapWithEither(
{String name = 'wrapWithEither', int retention = 0, bool? cancelOnError, bool bubbleCancellation = true, SeedCallback< Either< ? seed}) → OffsetIterator<dynamic, T> >Either< dynamic, T> > -
Items (
T
) are emitted asRight
, errors are handled and emitted asLeft
.