Class: Temporalio::Internal::Worker::MultiRunner::Event::PollFailure
- Inherits:
-
Temporalio::Internal::Worker::MultiRunner::Event
- Object
- Temporalio::Internal::Worker::MultiRunner::Event
- Temporalio::Internal::Worker::MultiRunner::Event::PollFailure
- Defined in:
- lib/temporalio/internal/worker/multi_runner.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#worker ⇒ Object
readonly
Returns the value of attribute worker.
-
#worker_type ⇒ Object
readonly
Returns the value of attribute worker_type.
Instance Method Summary collapse
-
#initialize(worker:, worker_type:, error:) ⇒ PollFailure
constructor
rubocop:disable Lint/MissingSuper.
Constructor Details
#initialize(worker:, worker_type:, error:) ⇒ PollFailure
rubocop:disable Lint/MissingSuper
118 119 120 121 122 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 118 def initialize(worker:, worker_type:, error:) # rubocop:disable Lint/MissingSuper @worker = worker @worker_type = worker_type @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
116 117 118 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 116 def error @error end |
#worker ⇒ Object (readonly)
Returns the value of attribute worker.
116 117 118 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 116 def worker @worker end |
#worker_type ⇒ Object (readonly)
Returns the value of attribute worker_type.
116 117 118 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 116 def worker_type @worker_type end |