Header menu logo FCQRS

ExpectationExhausted Type

Delivered to the saga's event handler when an expectation's deadline has passed without a state transition. The handler must match this type and answer with a state change (typically to a domain failure or compensation state). An unhandled exhaustion is logged as an error and re-delivered one deadline period later; the framework never invents a terminal state. The original reply may still arrive after exhaustion — the escalated state's handler should decide what a late success means.

Record fields

Record Field Description

Attempts

Full Usage: Attempts

Field type: int

Number of retry ticks that elapsed before exhaustion.

Field type: int

EnteredAt

Full Usage: EnteredAt

Field type: DateTime

The persisted entry time of that state.

Field type: DateTime

StateName

Full Usage: StateName

Field type: string

Union-case name of the state whose expectation ran out.

Field type: string

Type something to start searching.