arrow-fx / arrow.fx.extensions / IOMonad

IOMonad

interface ~~IOMonad~~ : Monad<ForIO> Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/

Functions

apEval open fun <A, B> Kind<ForIO, A>.apEval(ff: Eval<Kind<ForIO, (A) -> B>>): Eval<Kind<ForIO, B>>
flatMap open fun <A, B> IOOf<A>.flatMap(f: (A) -> IOOf<B>): IO<B>
just open fun <A> just(a: A): IO<A>
map open fun <A, B> IOOf<A>.map(f: (A) -> B): IO<B>
tailRecM open fun <A, B> tailRecM(a: A, f: (A) -> IOOf<Either<A, B>>): IO<B>

Inheritors

IOMonadError interface ~~IOMonadError~~ : MonadError<ForIO, Throwable>, IOApplicativeError, IOMonad
IOMonadIO interface ~~IOMonadIO~~ : MonadIO<ForIO>, IOMonad

Do you like Arrow?

Arrow Org
<