Whether the queue is idle
Whether the queue is paused
Whether the queue is running
Whether the queue is stopped
Whether the queue is waiting for the the
The name of the queue
The number of items in the queue
The current state of the queue
The stats of the queue
Optionalon: boolean | "info" | "verbose"Executes limit items in the queue
and then emits a flush event. Returns the number
of items processed.
Optionallimit: numberPause the queue
Clears the queue and emits a purge event. Returns
the number of items purged.
Resume the queue
Empty and process all items in the queue and then stop the queue. Returns the number of items processed.
Optionalforce: booleanStart the queue if it is not already started
Stop the queue
Whether the queue is draining