Skip to main content

Interface: SlotReleaseContext<SI>

Context for releasing a slot.

Type Parameters​

SI​

SI extends SlotInfo

Properties​

permit​

permit: SlotPermit

The permit that was issued when the slot was reserved


slotInfo?​

optional slotInfo?: SI

Info about the task that used this slot, if any. A slot may be released without being used in the event a poll times out.