Closed sdancer75 closed 3 years ago
Documentation does not say anything. The 1st parameter of the removeTokensis the number of requests to be removed?
removeTokens
limiter.removeTokens(1, function(err, remainingRequests)
This is documented in the JSDoc:
* @param count The number of tokens to remove.
Documentation does not say anything. The 1st parameter of the
removeTokens
is the number of requests to be removed?limiter.removeTokens(1, function(err, remainingRequests)