Table of Contents

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 SlotInfo

Info about the task that will be using the slot.

Permit SlotPermit

The 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

SlotPermit

SlotInfo

Info about the task that will be using the slot.

public SlotInfo SlotInfo { get; init; }

Property Value

SlotInfo