stream_either library
Support for doing something awesome.
More dartdocs go here.
Functions
-
bimap<
L1, L2, R1, R2> ({required L2 left(L1), required R2 right(R1)}) → StreamEither< L2, R2> Function(StreamEither<L1, R1> either$) -
doOnEither<
L, R> ({required void left(L), required void right(R)}) → StreamEither< L, R> Function(StreamEither<L, R> either$) -
doOnLeft<
L> (void procedure(L)) → StreamEither< L, R> Function<R>(StreamEither< L, R> either$) -
doOnRight<
R> (void procedure(R)) → StreamEither< L, R> Function<L>(StreamEither< L, R> either$) -
map<
R1, R2> (R2 right(R1)) → StreamEither< L, R2> Function<L>(StreamEither< L, R1> either$) -
mapLeft<
L1, L2> (L2 left(L1)) → StreamEither< L2, R> Function<R>(StreamEither< L1, R> either$) -
match<
A, L, R> ({required A left(L), required A right(R)}) → Stream< A> Function(StreamEither<L, R> either$)
Typedefs
-
StreamEither<
L, R> = Stream< Either< L, R> >