arrow-core-data / arrow.typeclasses / Continuation

Continuation

interface Continuation<in T> : Continuation<T>

Functions

resume abstract fun resume(value: T): Unit
resumeWith open fun resumeWith(result: Result<T>): Unit
resumeWithException abstract fun resumeWithException(exception: Throwable): Unit

Inheritors

ComonadContinuation open class ComonadContinuation<F, A : Any> : Serializable, Continuation<A>, Comonad<F>, ComonadSyntax<F>
MonadContinuation open class MonadContinuation<F, A> : Continuation<Kind<F, A>>, Monad<F>, BindSyntax<F>, MonadSyntax<F>

Do you like Arrow?

Arrow Org
<