Class: WorkerVersionCapabilities
common.v1.WorkerVersionCapabilities
Identifies the version that a worker is compatible with when polling or identifying itself, and whether or not this worker is opting into the build-id based versioning feature. This is used by matching to determine which workers ought to receive what tasks. Deprecated. Use WorkerDeploymentOptions instead.
Implements
Constructors
constructor
• new WorkerVersionCapabilities(properties?): WorkerVersionCapabilities
Constructs a new WorkerVersionCapabilities.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkerVersionCapabilities | Properties to set |
Returns
Properties
buildId
• buildId: string
An opaque whole-worker identifier
Implementation of
IWorkerVersionCapabilities.buildId
deploymentSeriesName
• deploymentSeriesName: string
Must be sent if user has set a deployment series name (versioning-3).
Implementation of
IWorkerVersionCapabilities.deploymentSeriesName
useVersioning
• useVersioning: boolean
If set, the worker is opting in to worker versioning, and wishes to only receive appropriate tasks.