Create a new bucket
ratelimiter used for ratelimiting requests
Key used internally to routify requests. Assigned by ratelimiter
array of functions waiting to be executed
Number of functions that may be executed during the timeframe set in limitReset
ratelimiter used for ratelimiting requests
Remaining amount of executions during the current timeframe
Timeframe in milliseconds until the ratelimit resets
Reset the remaining tokens to the base limit
Timeout that calls the reset function once the timeframe passed
Key used internally to routify requests
Check if there are any functions in the queue that haven't been executed yet
Clear the current queue of events to be sent
Queue a function to be executed
function to be executed
Result of the function if any
Generated using TypeDoc
Bucket used for saving ratelimits