arrow-fx / arrow.fx.extensions.io.async

Package arrow.fx.extensions.io.async

Extensions for External Classes

arrow.Kind  
kotlin.coroutines.CoroutineContext  

Functions

asyncF async variant that can suspend side effects in the provided registration function.fun <A> ~~asyncF~~(k: ((Either<Throwable, A>) -> Unit) -> Kind<ForIO, Unit>): IO<A>
defer Delay a computation on provided CoroutineContext.fun <A> ~~defer~~(ctx: CoroutineContext, f: () -> Kind<ForIO, A>): IO<A>
later Delay a computation on provided CoroutineContext.fun <A> ~~later~~(ctx: CoroutineContext, f: () -> A): IO<A>
laterOrRaise Delay a computation on provided CoroutineContext.fun <A> ~~laterOrRaise~~(ctx: CoroutineContext, f: () -> Either<Throwable, A>): IO<A>
never Task that never finishes evaluating.fun <A> ~~never~~(): IO<A>

Companion Object Functions

async Async models how a data type runs an asynchronous computation that may fail. Defined by the Proc signature, which is the consumption of a callback.fun IO.Companion.~~async~~(): IOAsync

Do you like Arrow?

Arrow Org
<