arrow-fx / arrow.fx.extensions / IOUnsafeRun

IOUnsafeRun

interface ~~IOUnsafeRun~~ : UnsafeRun<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

Do you like Arrow?

Arrow Org
<