ReaderTaskEither<E, L, R>.fromIOEither constructor

ReaderTaskEither<E, L, R>.fromIOEither(
  1. IOEither<L, R> io
)

Build a ReaderTaskEither that returns a Right containing the result of running io.

Implementation

factory ReaderTaskEither.fromIOEither(IOEither<L, R> io) => ReaderTaskEither(
      (_) async => io.run(),
    );