Emitted when the queue size is changed (task is added or removed from the queue), with a tasks list as a parameter
Emitted when the queue size is changed (task is added or removed from the queue), with a number of tasks in it as a parameter
Emitted when a task is added to the queue (no matter of position)
Emitted when a task finishes its run
Emitted when an async task finishes its run with an error (Promise rejects)
Emitted when a task is removed from the queue
Emitted when a task is run
Emitted when a task finishes its run with a success (Promise resolves or simply no reject for synchronous task)
Emitted when an sync task throws an error
Generated using TypeDoc
Events emitted on the Queue instance.
Example