arrow-effects-extensions / arrow.effects.extensions / IOAsync

IOAsync

@extension interface IOAsync : Async<ForIO>, IOMonadDefer

Functions

async open fun <A> async(fa: Proc<A>): IO<A>
asyncF open fun <A> asyncF(k: ProcF<ForIO, A>): IO<A>
continueOn open fun <A> IOOf<A>.continueOn(ctx: CoroutineContext): IO<A>
effect open fun <A> effect(ctx: CoroutineContext, f: suspend () -> A): IO<A>
open fun <A> effect(f: suspend () -> A): IO<A>

Extension Functions

catch fun <A> ApplicativeError<ForIO, Throwable>.catch(arg1: () -> A): IO<A>
just fun <A> A.just(): IO<A>
just fun <F, E, A> A.just(BR: Bracket<F, E>): Resource<F, E, A>

Inheritors

IOConcurrent interface IOConcurrent : Concurrent<ForIO>, IOAsync
IOEffect interface IOEffect : Effect<ForIO>, IOAsync