SagaEventActionsType
PackageFCQRS
C#-friendly factory methods for saga EventAction
Specification
Kind
Type
Members
3
Examples
0
IgnoreSignature
SagaEventActions.Ignore()
StateChangedSignature
SagaEventActions.StateChanged(newState)
UnhandledSignature
SagaEventActions.Unhandled()
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Ignore | SagaEventActions.Ignore() | Ignore the event |
| StateChanged | SagaEventActions.StateChanged(newState) | Create a state change event |
| Unhandled | SagaEventActions.Unhandled() | Event was not handled |
Create a state change event
Parameters
| Name | Type | Description |
|---|---|---|
| newState | 'TState |
Returns
EventAction<'TState>