Class: Temporalio::Internal::Worker::MultiRunner::Event::PollSuccess

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:, 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

#bytesObject (readonly)

Returns the value of attribute bytes.



106
107
108
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 106

def bytes
  @bytes
end

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