Saga Module
Saga orchestrator — executes steps sequentially with automatic compensation on failure.
On failure, compensates all completed steps in reverse order (LIFO). If compensations also fail, returns AggregateException containing all errors.
Types
| Type | Description |
|
A saga step: an action that can be compensated (rolled back). |
Functions and values
| Function or value |
Description
|
|
Runs saga steps sequentially. On failure, compensates all completed steps in reverse. Each compensation receives the context that was the output of that step. If compensations also fail, returns AggregateException containing the original + compensation errors. Ordered list of saga steps to execute sequentially. Initial context passed to the first step.
|
|
|
|
TDesu.FSharp