Class: Temporalio::Internal::Worker::MultiRunner::Event::WorkflowActivationCompletionComplete

Inherits:
Temporalio::Internal::Worker::MultiRunner::Event show all
Defined in:
lib/temporalio/internal/worker/multi_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(run_id:, error:) ⇒ WorkflowActivationCompletionComplete

rubocop:disable Lint/MissingSuper



163
164
165
166
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 163

def initialize(run_id:, error:) # rubocop:disable Lint/MissingSuper
  @run_id = run_id
  @error = error
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



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

def error
  @error
end

#run_idObject (readonly)

Returns the value of attribute run_id.



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

def run_id
  @run_id
end