Skip to main content

Module worker

Module worker 

Source
Expand description

Worker pool for processing queued jobs with retry, backoff, and graceful shutdown.

Structs§

WorkerConfig
Configuration for the worker pool.
WorkerPool
A pool of workers consuming jobs from a Queue.

Traits§

JobHandler
A handler for processing a single job.

Functions§

retry_delay
Computes the (capped) exponential backoff delay.

Type Aliases§

JobFuture
A future returned by a job handler.