Interface: SlotReleaseContext<SI>
worker.SlotReleaseContext
Context for releasing a slot.
Worker Tuner is an experimental feature and may be subject to change.
Type parameters
Name | Type |
---|---|
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.