flatMapTask<C> method
Chain a TaskEither with an IOEither.
Allows to chain a function that returns a Either<L, R> (IOEither) to
a function that returns a Future<Either<L, C>> (TaskEither).
Implementation
TaskEither<L, C> flatMapTask<C>(TaskEither<L, C> Function(R r) f) =>
TaskEither(
() async => run().match(
Either.left,
(r) => f(r).run(),
),
);