arrow-fx / arrow.fx.typeclasses / AsyncContinuation
open class ~~AsyncContinuation~~<F, A> : MonadThrowContinuation<F, A>,
Async
<F>,
AsyncSyntax
<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/
<init> | AsyncContinuation(SC: Async <F>, context: CoroutineContext = EmptyCoroutineContext) |
context | open val context: CoroutineContext |
fx | Entry point for monad bindings which enables for comprehensions. The underlying impl is based on coroutines. A coroutines is initiated and inside AsyncContinuation suspended yielding to Monad.flatMap. Once all the flatMap binds are completed the underlying monad is returned from the act of executing the coroutineopen val fx: AsyncFx <F> |
SC | val SC: Async <F> |
ConcurrentContinuation | open class ~~ConcurrentContinuation~~<F, A> : AsyncContinuation <F, A>, Concurrent <F>, ConcurrentSyntax <F> |
Do you like Arrow?
✖