Skip to main content

Module worker

Module worker 

Source
Expand description

The Worker loop, and the events it fires.

Structs§

JobFailed
Fired when a job fails on its last attempt.
JobProcessed
Fired after a job succeeds.
JobProcessing
Fired before a job runs.
JobReleased
Fired when a job fails but has attempts left.
Worker
Pulls jobs off a queue and runs them.
WorkerOptions
How a worker behaves.
WorkerStats
What a worker run did in total.

Enums§

Outcome
What one turn of the loop did.