SagaTransition<'State>Union
PackageFCQRS
Represents the next state transition for a saga after processing an event or timeout.
Specification
Kind
Union
Members
8
Examples
0
IsStaySignature
this.IsStay
IsNextStateSignature
this.IsNextState
IsStayExpectingSignature
this.IsStayExpecting
IsStopSagaSignature
this.IsStopSaga
StopSagaSignature
StopSaga
Summary
| Name | Signature | Synopsis |
|---|---|---|
| IsStay | this.IsStay | No description available. |
| IsNextState | this.IsNextState | No description available. |
| IsStayExpecting | this.IsStayExpecting | No description available. |
| IsStopSaga | this.IsStopSaga | No description available. |
| StopSaga | StopSaga | The saga should stop and terminate |
| Stay | Stay | The saga should stay in current state without changes |
| NextState | NextState 'State | The saga should transition to a new state |
| StayExpecting | StayExpecting Expectation | Stay in the current state, but declare that the expectation's commands anticipate a state transition: the framework re-sends them on the schedule and delivers ExpectationExhausted past the deadline. |
The saga should transition to a new state
Parameters
| Name | Type | Description |
|---|---|---|
| Item | 'State |
Returns
unit