Interface: StandaloneActivityOptions
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:170
Options used by ActivityClient.start.
Properties
args?
optionalargs?:any[] | readonlyany[]
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:182
Input arguments to pass to the activity.
heartbeatTimeout?
optionalheartbeatTimeout?:Duration
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:192
If set, specifies maximum time between successful heartbeats.
id
id:
string
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:174
Activity ID of the started activity. It's recommended to use a meaningful business ID.
idConflictPolicy?
optionalidConflictPolicy?:ActivityIdConflictPolicy
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:235
Specifies behavior if there's a running activity with the same ID. Note that there can only be one running Activity for each Activity ID.
idReusePolicy?
optionalidReusePolicy?:ActivityIdReusePolicy
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:230
Specifies behavior if there's a closed activity with the same ID.
priority?
optionalpriority?:Priority
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:222
Priority to use when starting this activity.
retry?
optionalretry?:RetryPolicy
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:196
Controls how Activity is retried. If not set, the server will assign default retry policy.
scheduleToCloseTimeout?
optionalscheduleToCloseTimeout?:Duration
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:213
If set, specifies maximum time for a single execution attempt. This timeout is retryable.
Note: it is required to set at least one of startToCloseTimeout and scheduleToCloseTimeout.
scheduleToStartTimeout?
optionalscheduleToStartTimeout?:Duration
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:207
If set, specifies maximum time the activity can wait in the task queue before being picked up by a worker. This timeout is non-retryable.
startDelay?
optionalstartDelay?:Duration
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:226
Time to wait before dispatching the first activity task. This delay is not applied to retry attempts.
startToCloseTimeout?
optionalstartToCloseTimeout?:Duration
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:202
Is set, specifies total time the activity is allowed to run, including retries.
Note: it is required to set at least one of startToCloseTimeout and scheduleToCloseTimeout.
summary?
optionalsummary?:string
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:218
A single-line fixed summary for this activity execution that may appear in UI/CLI. This can be in single-line Temporal markdown format.
taskQueue
taskQueue:
string
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:178
Task queue to run this activity on.
typedSearchAttributes?
optionaltypedSearchAttributes?:TypedSearchAttributes|SearchAttributePair[]
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:239
Search attributes for the activity.
typeInfo?
optionaltypeInfo?:PayloadTypeInfo
Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:188
Experimental
Type information used to encode Activity arguments and decode its result.