Stopped

data class Stopped<out State>(val state: State?, val cause: Throwable?) : GraphSnapshot<State>

The run ended before END and before an interrupt. With a checkpointer, GraphSession.resume continues from the last step that finished.

Constructors

Link copied to clipboard
constructor(state: State?, cause: Throwable?)

Properties

Link copied to clipboard

what the run threw, for example a NodeExecutionException when a node failed after its last try. null when GraphSession.cancel stopped it.

Link copied to clipboard
open override val state: State?

the last state the session knew, or null when it knew none.