toTaskEither abstract method
TaskEither<L, R>
toTaskEither()
Convert this Either to a TaskEither
.
Used to convert a sync context (Either) to an async context (TaskEither
).
You should convert Either to TaskEither
every time you need to
call an async (Future) function based on the value in Either.
Implementation
TaskEither<L, R> toTaskEither();