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



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

#workerObject (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_typeObject (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