class documentation
class SlotReserveContext(Protocol): (source)
Context for reserving a slot from a CustomSlotSupplier
.
Warning
Custom slot suppliers are currently experimental.
Class Variable | is |
True iff this is a reservation for a sticky poll for a workflow task. |
Class Variable | slot |
The type of slot trying to be reserved. Always one of "workflow", "activity", or "local-activity". |
Class Variable | task |
The name of the task queue for which this reservation request is associated. |
Class Variable | worker |
The build id of the worker that is requesting the reservation. |
Class Variable | worker |
The identity of the worker that is requesting the reservation. |