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
108 109 110 111 112 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 108 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.
106 107 108 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 106 def bytes @bytes end |
#worker ⇒ Object (readonly)
Returns the value of attribute worker.
106 107 108 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 106 def worker @worker end |
#worker_type ⇒ Object (readonly)
Returns the value of attribute worker_type.
106 107 108 |
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 106 def worker_type @worker_type end |