Class: Temporalio::Internal::Worker::MultiRunner::Event::PollerShutDown
- Inherits:
-
Temporalio::Internal::Worker::MultiRunner::Event
- Object
- Temporalio::Internal::Worker::MultiRunner::Event
- Temporalio::Internal::Worker::MultiRunner::Event::PollerShutDown
- Defined in:
- lib/temporalio/internal/worker/multi_runner.rb
Instance Attribute Summary collapse
-
#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:) ⇒ PollerShutDown
constructor
rubocop:disable Lint/MissingSuper.
Constructor Details
#initialize(worker:, worker_type:) ⇒ PollerShutDown
rubocop:disable Lint/MissingSuper
128 129 130 131 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 128 def initialize(worker:, worker_type:) # rubocop:disable Lint/MissingSuper @worker = worker @worker_type = worker_type end |
Instance Attribute Details
#worker ⇒ Object (readonly)
Returns the value of attribute worker.
126 127 128 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 126 def worker @worker end |
#worker_type ⇒ Object (readonly)
Returns the value of attribute worker_type.
126 127 128 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 126 def worker_type @worker_type end |