Skip to content

Commit 3438c53

Browse files
authored
Update README.md
1 parent d70fe92 commit 3438c53

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,17 @@ public class MyWorkflow : IWorkflow
7272

7373
```c#
7474
builder
75-
.StartWith<LogStart>()
76-
.Saga(saga => saga
77-
.StartWith<Task1>()
78-
.CompensateWith<UndoTask1>()
79-
.Then<Task2>()
80-
.CompensateWith<UndoTask2>()
81-
.Then<Task3>()
82-
.CompensateWith<UndoTask3>()
83-
)
84-
.OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromMinutes(10))
85-
.Then<LogEnd>();
75+
.StartWith<LogStart>()
76+
.Saga(saga => saga
77+
.StartWith<Task1>()
78+
.CompensateWith<UndoTask1>()
79+
.Then<Task2>()
80+
.CompensateWith<UndoTask2>()
81+
.Then<Task3>()
82+
.CompensateWith<UndoTask3>()
83+
)
84+
.OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromMinutes(10))
85+
.Then<LogEnd>();
8686
```
8787

8888
## Persistence

0 commit comments

Comments
 (0)