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