arrow-fx / arrow.fx.extensions.io.async / laterOrRaise

laterOrRaise

@JvmName("laterOrRaise") fun <A> ~~laterOrRaise~~(ctx: CoroutineContext, f: () -> Either<Throwable, A>): IO<A> 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/

Delay a computation on provided CoroutineContext.

Parameters

ctx - CoroutineContext to run evaluation on.

Do you like Arrow?

Arrow Org
<