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.



205
206
207
208
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 205

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

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event.



203
204
205
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 203

def event
  @event
end