fromEither()
fromEither<
E,A>(fa):TaskEither<E,A>
Creates a TaskEither from an Either.
Type Parametersโ
E: Eโ
The error type.
A: Aโ
The success type.
Parametersโ
fa: Either<E, A>โ
The Either to convert.
Returns: TaskEither<E, A>โ
A TaskEither containing the Either.
Sinceโ
2.0.0