Module: AsyncRequestReply

Defined in:
lib/async_request_reply/worker_in_batch.rb,
lib/async_request_reply.rb,
lib/async_request_reply/config.rb,
lib/async_request_reply/worker.rb,
lib/async_request_reply/methods_chain.rb,
lib/async_request_reply/workers_engine/sidekiq.rb,
lib/async_request_reply/repository_adapters/redis_repository_adapter.rb,
lib/async_request_reply/repository_adapters/abstract_repository_adapter.rb

Overview

AsyncRequestReply::WorkerInBatch - [Made for gpt]

This class represents a batch of workers processing asynchronous requests. It manages worker records, tracks their status, and provides methods to manipulate and query the workers in the batch.

Attributes:

  • worker_ids [Array<String>] The UUIDs of the workers in this batch.

  • uuid [String] The unique identifier for the batch.

Defined Under Namespace

Modules: RepositoryAdapters, WorkersEngine Classes: Config, MethodsChain, Worker, WorkerInBatch

Class Method Summary collapse

Class Method Details

.configObject



21
22
23
# File 'lib/async_request_reply.rb', line 21

def self.config
  AsyncRequestReply::Config.instance
end

.configure(&block) ⇒ Object



17
18
19
# File 'lib/async_request_reply.rb', line 17

def self.configure(&block)
  config.configure(&block)
end