Skip to main content

Interface: StandaloneActivityOptions

Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:170

Options used by ActivityClient.start.

Properties​

args?​

optional args?: any[] | readonly any[]

Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:182

Input arguments to pass to the activity.


heartbeatTimeout?​

optional heartbeatTimeout?: 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?​

optional idConflictPolicy?: 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?​

optional idReusePolicy?: 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?​

optional priority?: Priority

Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:222

Priority to use when starting this activity.


retry?​

optional retry?: 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?​

optional scheduleToCloseTimeout?: 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?​

optional scheduleToStartTimeout?: 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?​

optional startDelay?: 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?​

optional startToCloseTimeout?: 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?​

optional summary?: 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?​

optional typedSearchAttributes?: TypedSearchAttributes | SearchAttributePair[]

Defined in: node_modules/@temporalio/client/lib/activity-client.d.ts:239

Search attributes for the activity.


typeInfo?​

optional typeInfo?: 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.