File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ export interface ActivityOptions {
106
106
* When using the Worker Versioning feature, specifies whether this Activity should run on a
107
107
* worker with a compatible Build Id or not. See {@link VersioningIntent}.
108
108
*
109
+ * @default 'COMPATIBLE'
110
+ *
109
111
* @experimental
110
112
*/
111
113
versioningIntent ?: VersioningIntent ;
Original file line number Diff line number Diff line change 1
1
/**
2
- * Indicates whether the user intends certain commands to be run on a compatible worker Build Id
3
- * version or not.
2
+ * Indicates whether the user intends certain commands to be run on a compatible worker Build Id version or not.
4
3
*
5
- * `COMPATIBLE` indicates that the command should run on a worker with compatible version if
6
- * possible. It may not be possible if the target task queue does not also have knowledge of the
7
- * current worker's Build Id.
4
+ * `COMPATIBLE` indicates that the command should run on a worker with compatible version if possible. It may not be
5
+ * possible if the target task queue does not also have knowledge of the current worker's Build Id.
8
6
*
9
- * `DEFAULT` indicates that the command should run on the target task queue's current
10
- * overall-default Build Id.
7
+ * `DEFAULT` indicates that the command should run on the target task queue's current overall-default Build Id.
11
8
*
12
- * Where this type is accepted optionally, an unset value indicates that the SDK should choose the
13
- * most sensible default behavior for the type of command, accounting for whether the command will
14
- * be run on the same task queue as the current worker.
9
+ * Where this type is accepted optionally, an unset value indicates that the SDK should choose the most sensible default
10
+ * behavior for the type of command, accounting for whether the command will be run on the same task queue as the
11
+ * current worker. The default behavior for starting Workflows is `DEFAULT`. The default behavior for Workflows starting
12
+ * Activities, starting Child Workflows, or Continuing As New is `COMPATIBLE`.
15
13
*
16
14
* @experimental
17
15
*/
Original file line number Diff line number Diff line change @@ -231,6 +231,8 @@ export interface ContinueAsNewOptions {
231
231
* When using the Worker Versioning feature, specifies whether this Workflow should
232
232
* Continue-as-New onto a worker with a compatible Build Id or not. See {@link VersioningIntent}.
233
233
*
234
+ * @default 'COMPATIBLE'
235
+ *
234
236
* @experimental
235
237
*/
236
238
versioningIntent ?: VersioningIntent ;
@@ -341,6 +343,8 @@ export interface ChildWorkflowOptions extends CommonWorkflowOptions {
341
343
* When using the Worker Versioning feature, specifies whether this Child Workflow should run on
342
344
* a worker with a compatible Build Id or not. See {@link VersioningIntent}.
343
345
*
346
+ * @default 'COMPATIBLE'
347
+ *
344
348
* @experimental
345
349
*/
346
350
versioningIntent ?: VersioningIntent ;
You can’t perform that action at this time.
0 commit comments