arrow-fx / arrow.fx.extensions / IOAsync / asyncF

asyncF

open fun <A> asyncF(k: ProcF<ForIO, A>): IO<A>

async variant that can suspend side effects in the provided registration function.

The passed in function is injected with a side-effectful callback for signaling the final result of an asynchronous process.

See Also

async

Do you like Arrow?

Arrow Org
<