Header menu logo FCQRS

Expectation Type

A declared expectation attached to a saga's waiting state via StayExpecting: the framework sends Resend on state entry, re-sends exactly those commands on the schedule while no state transition is persisted, and past Deadline (measured from the persisted state-entry time, so crash loops cannot postpone it) delivers an message to the saga's event handler. Commands in Resend must be retry-safe (the same contract recovery re-drives already require) and must not carry their own DelayInMs.

Record fields

Record Field Description

Deadline

Full Usage: Deadline

Field type: TimeSpan

Absolute time budget measured from the persisted state-entry time.

Field type: TimeSpan

Resend

Full Usage: Resend

Field type: ExecuteCommand list

The commands sent on state entry and re-sent on every retry tick.

Field type: ExecuteCommand list

RetryEvery

Full Usage: RetryEvery

Field type: RetrySchedule

Cadence of re-sends inside the deadline window.

Field type: RetrySchedule

Type something to start searching.