arrow-fx-coroutines / arrow.fx.coroutines / CancellableContinuation

CancellableContinuation

interface ~~CancellableContinuation~~<A> : Continuation<A> Deprecated: Use KotlinX structured concurrency as unsafe Environment to launch side-effects from non-suspending code

Type to constraint startCoroutineCancellable to the CancellableContinuation constructor.

fun <A> ~~CancellableContinuation~~(ctx: CoroutineContext = Dispatchers.Default, resumeWith: (Result<A>) -> Unit): CancellableContinuation<A> Deprecated: Use KotlinX structured concurrency as unsafe Environment to launch side-effects from non-suspending code

Constructor for CancellableContinuation

Do you like Arrow?

Arrow Org
<