throttle-timers
v1.2.1
Published
lodash throttle override global setTimeout and setInterval
Maintainers
Readme
Usage
const { setTimeout, setInterval } = require('throttle-timers');
globalThis.setTimeout = setTimeout;
globalThis.setInterval = setInterval;or
node -r throttle-timers/register file.jsThen
all your setInterval and setTimeout
calls won't happen too often as they're protected by lodash throttle with the same time
automagically
Install
npm i throttle-timers -DLicense
MIT
