observ-debounce
v1.1.1
Published
A debounced [observ](https://www.npmjs.com/package/observ) that will only notify every N milliseconds.
Downloads
2,279
Readme
observ-debounce
A debounced observ that will only notify every N milliseconds.
Example
var Debounce = require('observ-debounce')
var debounce = Debounce(200) //5 times a second, max.
//register a listener
debounce(function (s) {
console.log(s)
})
while(reallyFast)//update the value lots!
debounce.set(newValue)
License
MIT
