arrow-fx / arrow.fx.extensions / IOUnsafeCancellableRun

IOUnsafeCancellableRun

interface ~~IOUnsafeCancellableRun~~ : UnsafeCancellableRun<ForIO> 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

runBlocking open suspend fun <A> unsafe.runBlocking(fa: () -> Kind<ForIO, A>): A
runNonBlocking open suspend fun <A> unsafe.runNonBlocking(fa: () -> Kind<ForIO, A>, cb: (Either<Throwable, A>) -> Unit): Unit
runNonBlockingCancellable open suspend fun <A> unsafe.runNonBlockingCancellable(onCancel: OnCancel, fa: () -> Kind<ForIO, A>, cb: (Either<Throwable, A>) -> Unit): Disposable

Do you like Arrow?

Arrow Org
<