Class: Temporalio::Worker::Tuner::SlotSupplier::Custom::ReleaseContext

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

Overview

Context provided for releasing a slot.

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.



110
111
112
113
# File 'lib/temporalio/worker/tuner.rb', line 110

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

#slot_infoSlotInfo::Workflow, ...

Returns Information about the slot. This may be nil if the slot was never used.

Returns:



110
111
112
113
# File 'lib/temporalio/worker/tuner.rb', line 110

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