debounce-basic
v1.0.6
Published
callBack: <br /> Type: Function <br /> This is what you want to debounce <br />
Downloads
6
Readme
debounce-basic
Simple debounce implementation to save your time
API
callBack: Type: Function This is what you want to debounce
delay: Type: Number
Usage Example:
import debounce from 'debounce-basic'
const func = debounce(() => {
console.log("debounce");
}, 2500);
func();