Saga<'TEvent, 'TSagaData, 'TState> Type
C#-friendly abstract base for a saga. A concrete saga supplies InitialData, SagaName, Originator (the aggregate it starts from), HandleEvent and ApplySideEffects; the base provides the wiring (Init/Factory) and the small transition DSL. Designed to be subclassed from C#.
Constructors
| Constructor | Description |
|
Instance members
| Instance member | Description |
Full Usage:
this.ApplySideEffects
Parameters:
SagaState<'TSagaData, 'TState>
arg1 : bool
Returns: SagaSideEffectResult<'TState>
Modifiers: abstract |
|
|
|
Full Usage:
this.Factory
Parameters:
IActor
snapshotPolicy : SnapshotPolicy
Returns: AggregateFactory
|
|
Full Usage:
this.HandleEvent
Parameters:
obj
arg1 : SagaState<'TSagaData, 'TState option>
Returns: EventAction<'TState>
Modifiers: abstract |
|
Full Usage:
this.Init
Parameters:
IActor
snapshotPolicy : SnapshotPolicy
Returns: EntityFac<obj>
|
|
Full Usage:
this.InitialData
Returns: 'TSagaData
Modifiers: abstract |
|
|
|
Full Usage:
this.SagaName
Returns: string
Modifiers: abstract |
|
|
|
Static members
| Static member | Description |
|
|
|
|
|
|
|
|
|
|
FCQRS