Glossary
The terms Queuert's docs use, each defined in a line or two with a link to the page that owns it.
- AttemptOne run of a job's handler. A job that throws is rescheduled and gets a new attempt. See Job processing.
- BackoffThe delay before a failed job's next attempt, growing with each consecutive failure up to a maximum. See Retry and backoff.
- BlockerA chain that another job waits for. The waiting job is
blockeduntil every blocker chain completes. See Job blockers. - ChainA sequence of jobs linked by
continueWith, identified by its first job. It completes when its last job completes without continuing. See Chain model. - ContinuationA job created by
continueWithfrom the job before it. It shares that job'schainIdand has its ownid. See Continuing a chain. - DeduplicationA deduplication key passed to
createChainmakes a repeated call return the existing chain instead of creating another. See Deduplication. - Head and tailThe head is a chain's first job, whose
idis the chain's id. The tail is the job currently at its end. See Chain model. - JobOne unit of work with typed input and, once completed, output. Its status goes (
blocked→)pending→running→completed. See Chain model. - Job typeA named definition of a job's input and output, and of the types it may continue with. See Job type references.
- LeaseThe time a worker is live without a renewal; a running job is live while its worker's lease is. See Worker lease.
- Notify adapterDelivers a notification when a job is created, so workers pick it up without waiting for the next poll. See Notify adapters.
- ProcessorThe handler for a job type, created with
createProcessorsand run by a worker runner. See Job processing. - RescheduleReturning a job to
pendingfor a later attempt, after a failure or throughapplyJobOutcome({ reschedule }). See Scheduling. - SlotOne unit of a worker runner's concurrency; it runs one attempt handler call at a time. See Concurrency model.
- State adapterStores jobs and runs status transitions in your database, through a state provider that wraps your database client. See State adapters.
- Transaction context (
txCtx)The object a state provider passes to your transaction callback. Spread it into Queuert calls such ascreateChainandapplyJobOutcometo run them in that transaction. See Transactional outbox. - Worker runnerCreated with
createWorkerRunner. It polls for jobs, runs attempts in parallel slots and reclaims the jobs of workers whose lease expired. See Worker runner.