Module fmodel_rust::saga
source · Expand description
Saga module - belongs to the Domain layer - pure mapper of action results/events into new actions/commands
Structs
- Saga is a datatype that represents the central point of control, deciding what to execute next (
A), based on the action result (AR). It has two generic parametersAR/Action Result,A/Action , representing the type of the values that Saga may contain or use.'ais used as a lifetime parameter, indicating that all references contained within the struct (e.g., references within the function closures) must have a lifetime that is at least as long as ’a.