ExpectationsType
PackageFCQRS
C#-friendly factory for saga expectations
Specification
Kind
Type
Members
1
Examples
0
CreateSignature
Expectations.Create(resend, deadline, retryEvery)
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Create | Expectations.Create(resend, deadline, retryEvery) | Declare what a waiting state expects: `resend` is sent on state entry and re-sent on `retryEvery` until a transition is persisted; past `deadline` (measured from the persisted state-entry time) HandleEvent receives an ExpectationExhausted message it must answer with a transition. |
Declare what a waiting state expects: `resend` is sent on state entry and
re-sent on `retryEvery` until a transition is persisted; past `deadline`
(measured from the persisted state-entry time) HandleEvent receives an
ExpectationExhausted message it must answer with a transition.
Parameters
| Name | Type | Description |
|---|---|---|
| resend | IList<ExecuteCommand> | |
| deadline | TimeSpan | |
| retryEvery | RetrySchedule |
Returns
Expectation