arrow-fx-coroutines / arrow.fx.coroutines / kotlin.coroutines.SuspendFunction0 / startCoroutineCancellable
fun <A> (suspend () -> A).~~startCoroutineCancellable~~(completion:
CancellableContinuation
<A>):
Disposable
Deprecated: Use KotlinX structured concurrency as unsafe Environment to launch side-effects from non-suspending code
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.
Returns Disposable handler to cancel the started suspendable cancellable computation.
Do you like Arrow?
✖