Number of threads currently processing a job (across all workers).
Number of threads in the shared pool.
Resolves when the shared thread pool has finished initialising.
Begin polling for jobs. Safe to call at any point: the request is buffered
until the shared thread pool is ready, and redundant calls (including an
explicit call on an autoStart worker) are dropped rather than starting a
second poll loop. Once the worker is stopped, start() is a no-op.
A job worker that runs handler logic in a shared pool of worker_threads, keeping the main Node.js event loop free for polling and I/O.
The thread pool is owned by CamundaClient and shared across all threaded workers. Each thread is generic — the handler module path is sent with each job, and threads cache loaded handlers by module path.