Class: Temporalio::Worker::Tuner::SlotSupplier::Custom::MarkUsedContext

Inherits:
Data
  • Object
show all
Defined in:
lib/temporalio/worker/tuner.rb

Overview

Context provided for marking a slot used.

Instance Attribute Summary collapse

Instance Attribute Details

#permitObject

Returns Object that was provided as the permit on reserve.

Returns:

  • (Object)

    Object that was provided as the permit on reserve.



98
99
100
101
# File 'lib/temporalio/worker/tuner.rb', line 98

MarkUsedContext = Data.define(
  :slot_info,
  :permit
)

#slot_infoSlotInfo::Workflow, ...

Returns Information about the slot. This is never nil.

Returns:



98
99
100
101
# File 'lib/temporalio/worker/tuner.rb', line 98

MarkUsedContext = Data.define(
  :slot_info,
  :permit
)