Skip to main content

Interface: SlotReserveContext

worker.SlotReserveContext

Properties

isSticky

isSticky: boolean

True iff this is a reservation for a sticky poll for a workflow task


slotType

slotType: "workflow" | "local-activity" | "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


workerIdentity

workerIdentity: string

The identity of the worker that is requesting the reservation