IOEither<L, R>.fromIO constructor
IOEither<L, R>.fromIO (
- IO<
R> io
Build a IOEither from the result of running io
.
Same of IOEither.rightIO
Implementation
factory IOEither.fromIO(IO<R> io) => IOEither(() => Right(io.run()));