Getters

When jobs are added to a queue, they will be in different statuses during their lifetime. BullMQ provides methods to retrieve information and jobs from the different statuses.

Lifecycle of a job

Job Counts

It is often necessary to know how many jobs are in a given status:

The available status are:

  • completed,

  • failed,

  • delayed,

  • active,

  • wait,

  • waiting-children,

  • prioritized,

  • paused, and

  • repeat.

Get Jobs

It is also possible to retrieve the jobs with pagination style semantics. For example:

Read more:

Last updated

Was this helpful?