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: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
Constructors
SlotMarkUsedContext(SlotInfo, SlotPermit)
Context for marking a slot used from a CustomSlotSupplier.
public SlotMarkUsedContext(SlotInfo SlotInfo, SlotPermit Permit)
Parameters
SlotInfoSlotInfoInfo about the task that will be using the slot.
PermitSlotPermitThe permit that was issued when the slot was reserved.
Remarks
WARNING: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
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; }