arrow-fx-coroutines / arrow.fx.coroutines.stream / Pull / Result / Interrupted
data class Interrupted<X> : Result<
Nothing
>
Signals that Pull evaluation was interrupted.
context
- Any user specific context that needs to be captured during interruption
for eventual resume of the operation.
deferredError
- Any errors, accumulated during resume of the interruption.
Instead throwing errors immediately during interruption,
signalling of the errors may be deferred until the Interruption resumes.
<init> | Signals that Pull evaluation was interrupted.Interrupted(context: X, deferredError: Throwable ?) |
context | Any user specific context that needs to be captured during interruption for eventual resume of the operation.val context: X |
deferredError | Any errors, accumulated during resume of the interruption. Instead throwing errors immediately during interruption, signalling of the errors may be deferred until the Interruption resumes.val deferredError: Throwable ? |
toString | fun toString(): String |
Do you like Arrow?
✖