Class: Start
coresdk.activity_task.Start
Begin executing an activity
Implements
Constructors
constructor
• new Start(properties?
): Start
Constructs a new Start.
Parameters
Name | Type | Description |
---|---|---|
properties? | IStart | Properties to set |
Returns
Properties
activityId
• activityId: string
The activity's ID
Implementation of
activityType
• activityType: string
The activity's type name or function identifier
Implementation of
attempt
• attempt: number
Start attempt.
Implementation of
currentAttemptScheduledTime
• Optional
currentAttemptScheduledTime: null
| ITimestamp
When this current attempt at the task was scheduled
Implementation of
IStart.currentAttemptScheduledTime
headerFields
• headerFields: Object
Start headerFields.
Index signature
▪ [k: string
]: IPayload
Implementation of
heartbeatDetails
• heartbeatDetails: IPayload
[]
The last details that were recorded by a heartbeat when this task was generated
Implementation of
heartbeatTimeout
• Optional
heartbeatTimeout: null
| IDuration
If set a heartbeat must be reported within this interval
Implementation of
input
• input: IPayload
[]
Arguments to the activity
Implementation of
isLocal
• isLocal: boolean
Set to true if this is a local activity. Note that heartbeating does not apply to local activities.
Implementation of
retryPolicy
• Optional
retryPolicy: null
| IRetryPolicy
This is an actual retry policy the service uses. It can be different from the one provided (or not) during activity scheduling as the service can override the provided one in case its values are not specified or exceed configured system limits.
Implementation of
scheduleToCloseTimeout
• Optional
scheduleToCloseTimeout: null
| IDuration
Timeout from the first schedule time to completion
Implementation of
scheduledTime
• Optional
scheduledTime: null
| ITimestamp
When the task was first scheduled
Implementation of
startToCloseTimeout
• Optional
startToCloseTimeout: null
| IDuration
Timeout from starting an attempt to reporting its result