Skip to main content

Interface: SlotReserveContext

Context for reserving a slot.

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​

Worker Versioning is now deprecated. Use workerDeploymentVersion instead: https://docs.temporal.io/worker-deployments


workerDeploymentVersion?​

optional workerDeploymentVersion?: WorkerDeploymentVersion

The deployment version of the worker that is requesting the reservation


workerIdentity​

workerIdentity: string

The identity of the worker that is requesting the reservation