1.0.3 • Published 5 years ago
waitthrottle v1.0.3
Waitthrottle
Throttle wrapper function.
Install
npm install waitthrottle
Usage
import { throttle } from 'waitthrottle';
const wait = throttle(() => {
console.log('Waiting 3000ms...');
}, 3000);
setInterval(wait, 100);