Class SlotMarkUsedContext
- Namespace
- Temporalio.Worker.Tuning
- Assembly
- Temporalio.dll
Context for marking a slot used from a CustomSlotSupplier.
public record SlotMarkUsedContext : IEquatable<SlotMarkUsedContext>
- Inheritance
-
SlotMarkUsedContext
- Implements
- Inherited Members
Remarks
WARNING: Custom slot suppliers are currently experimental.
Constructors
SlotMarkUsedContext(SlotInfo, SlotPermit)
Context for marking a slot used from a CustomSlotSupplier.
public SlotMarkUsedContext(SlotInfo SlotInfo, SlotPermit Permit)
Parameters
SlotInfo
SlotInfoInfo about the task that will be using the slot.
Permit
SlotPermitThe permit that was issued when the slot was reserved.
Remarks
WARNING: Custom slot suppliers are currently experimental.
Properties
Permit
The permit that was issued when the slot was reserved.
public SlotPermit Permit { get; init; }
Property Value
SlotInfo
Info about the task that will be using the slot.
public SlotInfo SlotInfo { get; init; }