arrow-fx / arrow.fx.typeclasses / UnsafeCancellableRun

UnsafeCancellableRun

interface ~~UnsafeCancellableRun~~<F> : UnsafeRun<F> Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/

Functions

runNonBlockingCancellable abstract suspend fun <A> unsafe.runNonBlockingCancellable(onCancel: OnCancel, fa: () -> Kind<F, A>, cb: (Either<Throwable, A>) -> Unit): Disposable

Inheritors

IOUnsafeCancellableRun interface ~~IOUnsafeCancellableRun~~ : UnsafeCancellableRun<ForIO>

Do you like Arrow?

Arrow Org
<