Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ebbdd3

Browse files
authored
activity-options: docs
1 parent 095912f commit 5ebbdd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/common/src/activity-options.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export interface ActivityOptions {
4848

4949
/**
5050
* Maximum time of a single Activity execution attempt. Note that the Temporal Server doesn't detect Worker process
51-
* failures directly. It relies on this timeout to detect that an Activity that didn't complete on time. So this
52-
* timeout should be as short as the longest possible execution of the Activity body. Potentially long running
51+
* failures directly: instead, it relies on this timeout to detect that an Activity didn't complete on time. Therefore, this
52+
* timeout should be as short as the longest possible execution of the Activity body. Potentially long-running
5353
* Activities must specify {@link heartbeatTimeout} and call {@link activity.Context.heartbeat} periodically for
5454
* timely failure detection.
5555
*
@@ -61,7 +61,7 @@ export interface ActivityOptions {
6161
startToCloseTimeout?: Duration;
6262

6363
/**
64-
* Time that the Activity Task can stay in the Task Queue before it is picked up by a Worker. Do not specify this timeout unless using host specific Task Queues for Activity Tasks are being used for routing.
64+
* Time that the Activity Task can stay in the Task Queue before it is picked up by a Worker. Do not specify this timeout unless using host-specific Task Queues for Activity Tasks are being used for routing.
6565
* `scheduleToStartTimeout` is always non-retryable. Retrying after this timeout doesn't make sense as it would just put the Activity Task back into the same Task Queue.
6666
*
6767
* @default `scheduleToCloseTimeout` or unlimited
@@ -70,7 +70,7 @@ export interface ActivityOptions {
7070
scheduleToStartTimeout?: Duration;
7171

7272
/**
73-
* Total time that a workflow is willing to wait for Activity to complete.
73+
* Total time that a workflow is willing to wait for the Activity to complete.
7474
* `scheduleToCloseTimeout` limits the total time of an Activity's execution including retries (use {@link startToCloseTimeout} to limit the time of a single attempt).
7575
*
7676
* Either this option or {@link startToCloseTimeout} is required.

0 commit comments

Comments
 (0)