arrow-fx / arrow.fx.typeclasses / Async / effect
open fun <A> effect(f: suspend () -> A): Kind<F, A>
Delay a suspended effect.
open fun <A> effect(ctx:
CoroutineContext
, f: suspend () -> A): Kind<F, A>
Delay a suspended effect on provided CoroutineContext.
ctx
- CoroutineContext to run evaluation on.
Do you like Arrow?
✖