arrow-fx-coroutines / arrow.fx.coroutines / kotlin.coroutines.SuspendFunction0

Extensions for kotlin.coroutines.SuspendFunction0

evalOn suspend fun <T> (suspend () -> T).~~evalOn~~(ctx: CoroutineContext): T
forkAndForget suspend fun <A> (suspend () -> A).~~forkAndForget~~(ctx: CoroutineContext = Dispatchers.Default): Fiber<A>
forkConnected suspend fun <A> (suspend () -> A).~~forkConnected~~(ctx: CoroutineContext = Dispatchers.Default): Fiber<A>
forkScoped suspend fun <A> (suspend () -> A).~~forkScoped~~(ctx: CoroutineContext = Dispatchers.Default, interruptWhen: suspend () -> Unit): Fiber<A>
startCoroutineCancellable Starts a coroutine without a receiver and with result type A. This function creates and starts a new, fresh instance of suspendable cancellable computation every time it is invoked. The completion continuation is invoked when the coroutine completes with a result or an exception.fun <A> (suspend () -> A).~~startCoroutineCancellable~~(completion: CancellableContinuation<A>): Disposable

Do you like Arrow?

Arrow Org
<