ExpectationsType

PackageFCQRS
C#-friendly factory for saga expectations

Specification

Kind
Type
Members
1
Examples
0
CreateSignature
Expectations.Create(resend, deadline, retryEvery)

Summary

NameSignatureSynopsis
CreateExpectations.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.

Create

Expectations.Create(resend, deadline, retryEvery)
Member
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

NameTypeDescription
resendIList<ExecuteCommand>
deadlineTimeSpan
retryEveryRetrySchedule

Returns

Expectation