Indeterminate

data class Indeterminate<S>(val lastPhase: EntryPhase, val atStep: TypedValue?, val state: S, val reason: String) : ResumeOutcome<Nothing, S>

The journal is intact up to this point but continuation is ambiguous.

The last entry is an ca.acendas.kstate.saga.journal.EntryPhase.Intent with no corresponding ca.acendas.kstate.saga.journal.EntryPhase.Effect and the step declared no effectKey — so there is no way to know whether the side effect fired.

Parameters

lastPhase

The phase of the last seen journal entry.

atStep

The step the journal was at when replay stopped (null for run-level phases).

state

The reconstructed state up to the last known good Effect entry.

reason

Human-readable explanation (e.g. "no-effect-key").

Constructors

Link copied to clipboard
constructor(lastPhase: EntryPhase, atStep: TypedValue?, state: S, reason: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: S