Skip to content

Commit d70fe92

Browse files
authored
Update 1.6.0.md
1 parent 5155b07 commit d70fe92

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

ReleaseNotes/1.6.0.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ This particular example will retry the entire saga every 5 seconds
3030

3131
```c#
3232
builder
33-
.StartWith<SayHello>()
34-
.CompensateWith<UndoHello>()
35-
.Saga(saga => saga
36-
.StartWith<DoTask1>()
37-
.CompensateWith<UndoTask1>()
38-
.Then<DoTask2>()
39-
.CompensateWith<UndoTask2>()
40-
.Then<DoTask3>()
41-
.CompensateWith<UndoTask3>()
33+
.StartWith<SayHello>()
34+
.CompensateWith<UndoHello>()
35+
.Saga(saga => saga
36+
.StartWith<DoTask1>()
37+
.CompensateWith<UndoTask1>()
38+
.Then<DoTask2>()
39+
.CompensateWith<UndoTask2>()
40+
.Then<DoTask3>()
41+
.CompensateWith<UndoTask3>()
4242
)
43-
.OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromSeconds(5))
43+
.OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromSeconds(5))
4444
.Then<SayGoodbye>();
4545
```
4646

@@ -57,10 +57,10 @@ builder
5757
.Then<DoTask2>()
5858
.Then<DoTask3>()
5959
)
60-
.CompensateWithSequence(comp => comp
60+
.CompensateWithSequence(comp => comp
6161
.StartWith<UndoTask1>()
6262
.Then<UndoTask2>()
63-
.Then<UndoTask3>()
63+
.Then<UndoTask3>()
6464
)
6565
.Then<SayGoodbye>();
6666
```
@@ -138,4 +138,4 @@ The compensation steps can be defined by specifying the `CompensateWith` paramet
138138
}
139139
]
140140
}
141-
```
141+
```

0 commit comments

Comments
 (0)