fromEither<L, R> function
Returns a TaskEither that resolves to the given Either.
expect(
await fromEither(E.right('hello'))(),
E.right('hello'),
);
Implementation
TaskEither<L, R> fromEither<L, R>(Either<L, R> either) =>
TaskEither(task.value(either));