OptionalonOptional callback function that is invoked whenever the queue's status changes. The callback receives the new status as a parameter.
OptionalpauseOptional flag that determines whether the queue should pause processing
when an error occurs. If set to true, the queue will pause on error; otherwise, it will continue processing.
Defaults to false if not specified.
Configuration options for a Queue instance.
QueueOptions