right()
right<
E,A>(a):TaskEither<E,A>
Creates a TaskEither that resolves to a Right.
Type Parametersโ
E: E = neverโ
The error type.
A: A = neverโ
The success type.
Parametersโ
a: Aโ
The success value.
Returns: TaskEither<E, A>โ
A TaskEither containing the Right.
Sinceโ
2.0.0