arrow-fx / arrow.fx.typeclasses / Async / async

async

open fun <A> async(fa: Proc<A>): Kind<F, A>

Creates an instance of F that executes an asynchronous process on evaluation.

This combinator can be used to wrap callbacks or other similar impure code.

Parameters

fa - an asynchronous computation that might fail typed as Proc.

See Also

asyncF

Do you like Arrow?

Arrow Org
<