Guides
Task-focused pages for shaping workflows, handling failure, timing and load, data and lifecycle, and extending Queuert.
Shape workflows
Build linear, branched, loop and go-to chains with continueWith.
Make a job wait for other chains to complete, and read their outputs when it runs.
Process many jobs of one type in one handler call, settling them together or each on its own.
Organize job types and processors into independent feature modules.
Handle failure
Return errors as typed job outputs, compensate for failed steps and reschedule jobs.
Bound an attempt with a cooperative timeout, and know what the worker lease does and does not limit.
Define when jobs are failing and chains are overdue, for the list and count filters, the dashboard and state metrics.
Timing and load
Start a chain later, reschedule a job from or outside its handler, and run recurring jobs.
Keep a repeated trigger from creating the same chain twice, using deduplication keys.
Reserve worker capacity for urgent workloads by splitting job types across workers.
Run several workers against the same database.
Data and lifecycle
Wait for one chain or several to complete, with polling and notifications.
Decide a job's outcome outside a worker, from an API endpoint, webhook or approval step.
Inspect jobs, chains and workers with read-only queries.
Delete chains safely, with checks for chains that still block other chains.
Delete completed chains automatically with a recurring cleanup job.
Export the state of the job table as OpenTelemetry gauges from a periodic snapshot job.
Extend
Wrap attempt handler calls with cross-cutting logic such as tracing, resource injection, audit and contextual logging.
Run side effects only after your database transaction commits.
Run your application's own schema migrations with the migrator from @queuert/postgres, @queuert/sqlite or @queuert/mysql.