ReaderTaskEither<E, L, R>.fromTaskEither constructor
ReaderTaskEither<E, L, R>.fromTaskEither (
- TaskEither<
L, R> task
Build a ReaderTaskEither that returns a Right containing the result of running task
.
Implementation
factory ReaderTaskEither.fromTaskEither(TaskEither<L, R> task) =>
ReaderTaskEither(
(_) async => task.run(),
);