Skip to content

Commit fba62ca

Browse files
committed
[#0] add Saga diagram
1 parent 52a83d0 commit fba62ca

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/assets/sage_usage_1.png

163 KB
Loading

Readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,10 @@ func main() {
402402
## <a name="saga"><a/>Saga
403403
The implementation of the `Saga` pattern.
404404

405+
The `Saga` coordinates the execution of a business process consisting of multiple steps.
406+
Each step contains a direct action and a compensation in case of failure.
407+
# <img src=".github/assets/sage_usage_1.png" alt="drawing" width="600" />
408+
405409
Example:
406410
```go
407411
steps := []Step{

0 commit comments

Comments
 (0)