Class: Temporalio::Internal::Worker::MultiRunner::Event::PollerShutDown

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(worker:, worker_type:) ⇒ PollerShutDown

rubocop:disable Lint/MissingSuper



172
173
174
175
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 172

def initialize(worker:, worker_type:) # rubocop:disable Lint/MissingSuper
  @worker = worker
  @worker_type = worker_type
end

Instance Attribute Details

#workerObject (readonly)

Returns the value of attribute worker.



170
171
172
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 170

def worker
  @worker
end

#worker_typeObject (readonly)

Returns the value of attribute worker_type.



170
171
172
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 170

def worker_type
  @worker_type
end