Summary
Functions
Get all jobs in the queue
Returns a specification to start this module under a supervisor.
Claim the next available job for processing. Marks it as :running and returns it to the worker.
Get a specific job by ID
Mark a job as completed with a result
Mark a job as failed with an error reason
Submit a new job to the queue. Returns synchronously with the assigned job id.
Submit a job to run at a specific future time.
The job is persisted immediately but enters the in-memory queue only at run_at.
Functions
Get all jobs in the queue
Returns a specification to start this module under a supervisor.
See Supervisor.
Claim the next available job for processing. Marks it as :running and returns it to the worker.
Get a specific job by ID
Mark a job as completed with a result
Mark a job as failed with an error reason
Submit a new job to the queue. Returns synchronously with the assigned job id.
Submit a job to run at a specific future time.
The job is persisted immediately but enters the in-memory queue only at run_at.