ResultMapStreamX<E> extension
- on
-
- Stream<
E>
- Stream<
Methods
-
mapToResult(
[E mapper(E)?, String tag = '']) → Stream< Result< E> > - Map the value of the stream to ResultSuccess
-
withLatestFromResult<
R> (Stream< Result< stream, R mapSuccess(E, R), {String? tag}) → Stream<R> >Result< R> > -
Map the current stream to a new
Result
stream, as combining it with anotherstream
.