toTaskEither<L> method
Convert this Task to TaskEither.
Implementation
TaskEither<L, A> toTaskEither<L>() =>
TaskEither<L, A>(() async => Either.of(await run()));
Convert this Task to TaskEither.
TaskEither<L, A> toTaskEither<L>() =>
TaskEither<L, A>(() async => Either.of(await run()));