arrow-fx-coroutines / arrow.fx.coroutines.stream / Pull / Result / Interrupted

Interrupted

data class Interrupted<X> : Result<Nothing>

Signals that Pull evaluation was interrupted.

Parameters

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.

Constructors

<init> Signals that Pull evaluation was interrupted.Interrupted(context: X, deferredError: Throwable?)

Properties

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?

Functions

toString fun toString(): String

Do you like Arrow?

Arrow Org
<