Skip to main content

Interface: SlotReleaseContext<SI>

worker.SlotReleaseContext

Context for releasing a slot.

Type parameters

NameType
SIextends 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.