queue-debounce

0.2.0 • Public • Published

Queue Debounce

Queue and debounce requests or events it can be used to distribute events through delays

// const qd = new QueueDebounce(defaultDelay, defaultReplace) const qd = new QueueDebounce(2000, true)

// loadQueueDebounce.add(key, callback, delay, replace) qd.add(key, () => { // it will be called when its time come })

Readme

Keywords

none

Package Sidebar

Install

npm i queue-debounce

Weekly Downloads

0

Version

0.2.0

License

none

Unpacked Size

6.71 kB

Total Files

6

Last publish

Collaborators

  • fingerpich