node-simple-rate-limiter icon indicating copy to clipboard operation
node-simple-rate-limiter copied to clipboard

A simple way to rate limit how often a function is executed.

Results 2 node-simple-rate-limiter issues
Sort by recently updated
recently updated
newest added

Hi! We are making request towards and API that throttles if there are more than X requests at the same time. This pluing works great on "my machine", but if...

I'd like to use a pattern like the following: ``` const limit = require('simple-rate-limiter'); var f = limit(proccessWork).to(1).per(100); function batchWork(n) { q = getNextWorkBatch(n); for (var idx in q) {...