Aller au contenu principal

TaskEither()<E, A>

TaskEither<E, A> = () => Promise<Either<E, A>>

TaskEither represents an asynchronous computation that may fail.


Type Parameters

E: E

The error type.

A: A

The success type.


Returns: Promise<Either<E, A>>


Since

2.0.0