Running the command npm start initially will fail as the class AsyncQueue
is not been created in the module queue.js
. It is your responsibility to create the class and export
it from the the module.
- enqueue
- peek
- getCurrentInterval
- start
- pause
- Emits
- enqueued - Emitted when an item is enqueued
- dequeued - Emitted when an item is dequeued
- Listens
- interval - Accepts Number, updates the default interval for the instance