Exception: Temporalio::Internal::Worker::MultiRunner::InjectEventForTesting

Inherits:
Error
  • Object
show all
Defined in:
lib/temporalio/internal/worker/multi_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

canceled?

Constructor Details

#initialize(event) ⇒ InjectEventForTesting

Returns a new instance of InjectEventForTesting.



161
162
163
164
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 161

def initialize(event)
  super('Injecting event for testing')
  @event = event
end

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event.



159
160
161
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 159

def event
  @event
end