TaskEither<L, R>.flatten constructor
TaskEither<L, R>.flatten (
- TaskEither<
L, TaskEither< taskEitherL, R> >
Flat a TaskEither contained inside another TaskEither to be a single TaskEither.
Implementation
factory TaskEither.flatten(TaskEither<L, TaskEither<L, R>> taskEither) =>
taskEither.flatMap(identity);