arrow-fx / arrow.fx.typeclasses / UnsafeRun

UnsafeRun

interface ~~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

runBlocking abstract suspend fun <A> unsafe.runBlocking(fa: () -> Kind<F, A>): A
runNonBlocking abstract suspend fun <A> unsafe.runNonBlocking(fa: () -> Kind<F, A>, cb: (Either<Throwable, A>) -> Unit): Unit

Inheritors

IOUnsafeRun interface ~~IOUnsafeRun~~ : UnsafeRun<ForIO>
UnsafeCancellableRun interface ~~UnsafeCancellableRun~~<F> : UnsafeRun<F>

Do you like Arrow?

Arrow Org
<