Skip to content

Commit a338b34

Browse files
authored
Merge pull request #439 from MatrixRonny/patch-1
Swapped examples.
2 parents 1147e0b + e1caacc commit a338b34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/sagas.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ builder
1515
.Then<Task3>()
1616
.CompensateWith<UndoTask3>()
1717
)
18-
.OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromSeconds(5))
18+
.CompensateWith<CleanUp>()
1919
.Then(context => Console.WriteLine("End"));
2020
```
2121

@@ -34,7 +34,7 @@ builder
3434
.Then<Task3>()
3535
.CompensateWith<UndoTask3>()
3636
)
37-
.CompensateWith<CleanUp>()
37+
.OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromSeconds(5))
3838
.Then(context => Console.WriteLine("End"));
3939
```
4040

@@ -158,4 +158,4 @@ Steps:
158158
- Id: Bye
159159
StepType: MyApp.GoodbyeWorld, MyApp
160160

161-
```
161+
```

0 commit comments

Comments
 (0)