Interface: SlotReserveContext
worker.SlotReserveContext
Context for reserving a slot.
Worker Tuner is an experimental feature and may be subject to change.
Properties
isSticky
• isSticky: boolean
True iff this is a reservation for a sticky poll for a workflow task
slotType
• slotType: "nexus" | "activity" | "workflow" | "local-activity"
The type of slot trying to be reserved
taskQueue
• taskQueue: string
The name of the task queue for which this reservation request is associated
workerBuildId
• workerBuildId: string
The build id of the worker that is requesting the reservation
Deprecated
Use workerDeploymentVersion instead.
workerDeploymentVersion
• Optional workerDeploymentVersion: WorkerDeploymentVersion
The deployment version of the worker that is requesting the reservation
Worker deployments are an experimental feature and may be subject to change.
workerIdentity
• workerIdentity: string
The identity of the worker that is requesting the reservation