IOEither<L, R>.rightIO constructor

IOEither<L, R>.rightIO(
  1. IO<R> io
)

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

Same of IOEither.fromIO

Implementation

factory IOEither.rightIO(IO<R> io) => IOEither(() => Right(io.run()));