IOEither<L, R>.of constructor

IOEither<L, R>.of(
  1. R r
)

Build a IOEither that returns a Right(r).

Same of IOEither.right.

Implementation

factory IOEither.of(R r) => IOEither(() => Either.of(r));