Skip to content

Commit fc0fd7b

Browse files
authored
change readme activity examples from scheduletoclose to starttoclose (#433)
1 parent 8631656 commit fc0fd7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public class SayHelloWorkflow
136136
// This is a lambda expression where the instance is typed. If this
137137
// were static, you wouldn't need a parameter.
138138
(MyActivities act) => act.SayHello(name),
139-
new() { ScheduleToCloseTimeout = TimeSpan.FromMinutes(5) });
139+
new() { StartToCloseTimeout = TimeSpan.FromMinutes(5) });
140140
}
141141
}
142142
```
@@ -401,7 +401,7 @@ public class GreetingWorkflow
401401
// This is a static activity method. If it were an instance
402402
// method, a typed parameter can be accepted in the lambda call.
403403
() => GreetingActivities.CreateGreeting(greetingParams),
404-
new() { ScheduleToCloseTimeout = TimeSpan.FromMinutes(5) });
404+
new() { StartToCloseTimeout = TimeSpan.FromMinutes(5) });
405405
Workflow.Logger.LogDebug("Greeting set to {Greeting}", currentGreeting);
406406

407407
// Wait for param update or complete signal. Note, cancellation can

0 commit comments

Comments
 (0)