EntryPhase

Lifecycle phase of a JournalEntry within a saga run.

Entries are appended in the following order per step: Started (once per run) → IntentEffect (or Compensation) → Terminal (once per run).

Entries

Link copied to clipboard

Saga execution begins for a RunId. Emitted exactly once per run, as the first entry (seq = 0).

Link copied to clipboard

Before a step's forward action runs. Carries the payload the user wants recorded for pre-execution audit. Appended before invoking step.forward; if this append fails the step is vetoed.

Link copied to clipboard

After a step's forward action succeeded. Carries the step result payload.

Link copied to clipboard

After a step's compensation ran. The JournalEntry.reverses field points at the seq of the Effect entry being undone.

Link copied to clipboard

Saga execution ended. Payload carries an outcome discriminator (Completed / Aborted / Indeterminate). Emitted exactly once per run, as the final entry.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.