class documentation

class SlotReleaseContext: (source)

View In Hierarchy

Context for releasing a slot from a CustomSlotSupplier.

Warning

Custom slot suppliers are currently experimental.

Class Variable permit The permit that was issued when the slot was reserved.
Class Variable slot_info Info about the task that will be using the slot. May be None if the slot was never used.

The permit that was issued when the slot was reserved.

slot_info: Optional[SlotInfo] = (source)

Info about the task that will be using the slot. May be None if the slot was never used.