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