arrow-fx / arrow.fx.extensions / IOAsync
interface ~~IOAsync~~ :
Async
<
ForIO
>,
IOMonadDefer
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/
async | Creates an instance of F that executes an asynchronous process on evaluation.open fun <A> async(fa: Proc <A>): IO <A> |
asyncF | async variant that can suspend side effects in the provided registration function.open fun <A> asyncF(k: ProcF < ForIO , A>): IO <A> |
continueOn | Continue the evaluation on provided CoroutineContextopen fun <A> IOOf <A>.continueOn(ctx: CoroutineContext ): IO <A> |
effect | Delay a suspended effect on provided CoroutineContext.open fun <A> effect(ctx: CoroutineContext , f: suspend () -> A): IO <A> Delay a suspended effect. open fun <A> effect(f: suspend () -> A): IO <A> |
IOConcurrent | interface ~~IOConcurrent~~ : Concurrent < ForIO >, IOAsync |
IOEffect | interface ~~IOEffect~~ : Effect < ForIO >, IOAsync |
Do you like Arrow?
✖