Glossary

The terms Queuert's docs use, each defined in a line or two with a link to the page that owns it.

  • Attempt
    One run of a job's handler. A job that throws is rescheduled and gets a new attempt. See Job processing.
  • Backoff
    The delay before a failed job's next attempt, growing with each consecutive failure up to a maximum. See Retry and backoff.
  • Blocker
    A chain that another job waits for. The waiting job is blocked until every blocker chain completes. See Job blockers.
  • Chain
    A sequence of jobs linked by continueWith, identified by its first job. It completes when its last job completes without continuing. See Chain model.
  • Continuation
    A job created by continueWith from the job before it. It shares that job's chainId and has its own id. See Continuing a chain.
  • Deduplication
    A deduplication key passed to createChain makes a repeated call return the existing chain instead of creating another. See Deduplication.
  • Head and tail
    The head is a chain's first job, whose id is the chain's id. The tail is the job currently at its end. See Chain model.
  • Job
    One unit of work with typed input and, once completed, output. Its status goes (blocked →) pending → running → completed. See Chain model.
  • Job type
    A named definition of a job's input and output, and of the types it may continue with. See Job type references.
  • Lease
    The time a worker is live without a renewal; a running job is live while its worker's lease is. See Worker lease.
  • Notify adapter
    Delivers a notification when a job is created, so workers pick it up without waiting for the next poll. See Notify adapters.
  • Processor
    The handler for a job type, created with createProcessors and run by a worker runner. See Job processing.
  • Reschedule
    Returning a job to pending for a later attempt, after a failure or through applyJobOutcome({ reschedule }). See Scheduling.
  • Slot
    One unit of a worker runner's concurrency; it runs one attempt handler call at a time. See Concurrency model.
  • State adapter
    Stores 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 as createChain and applyJobOutcome to run them in that transaction. See Transactional outbox.
  • Worker runner
    Created with createWorkerRunner. It polls for jobs, runs attempts in parallel slots and reclaims the jobs of workers whose lease expired. See Worker runner.
esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open