Interface: IActivityOptions
Properties of an ActivityOptions.
Hierarchy
-
↳
IActivityOptions
Properties
heartbeatTimeout
• Optional heartbeatTimeout: null | $Properties
Maximum permitted time between successful worker heartbeats.
Inherited from
priority
• Optional priority: null | $Properties
Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
Inherited from
retryPolicy
• Optional retryPolicy: null | $Properties
The retry policy for the activity. Will never exceed schedule_to_close_timeout.
Inherited from
scheduleToCloseTimeout
• Optional scheduleToCloseTimeout: null | $Properties
Indicates how long the caller is willing to wait for an activity completion. Limits how long
retries will be attempted. Either this or start_to_close_timeout must be specified.
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
Inherited from
$Properties.scheduleToCloseTimeout
scheduleToStartTimeout
• Optional scheduleToStartTimeout: null | $Properties
Limits time an activity task can stay in a task queue before a worker picks it up. This
timeout is always non retryable, as all a retry would achieve is to put it back into the same
queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not
specified.
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
Inherited from
$Properties.scheduleToStartTimeout
startDelay
• Optional startDelay: null | $Properties
Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
When updated, the time is added to the original schedule_time, not to the current time.
If the resulting time is in the past, the task is made available for dispatch immediately.
Inherited from
startToCloseTimeout
• Optional startToCloseTimeout: null | $Properties
Maximum time an activity is allowed to execute after being picked up by a worker. This
timeout is always retryable. Either this or schedule_to_close_timeout must be
specified.
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
Inherited from
$Properties.startToCloseTimeout
taskQueue
• Optional taskQueue: null | $Properties
ActivityOptions taskQueue