A generic rate limiter for node.js. Useful for API clients, web crawling, or other tasks that need to be throttled
1.51k
stars
135
forks
source link
Would this project be open to a PR adding asyncRemoveTokens? #63
Closed
sunknudsen closed 3 years ago
I have been wrapping
removeTokens
in a promise (as suggested in https://github.com/jhurliman/node-rate-limiter/issues/52) for a while.Feels like it would be clean and useful if we implemented an
asyncRemoveTokens
method.