Create a new bucket
ratelimiter used for ratelimiting requests
Remaining amount of executions during the current timeframe
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
Timeframe in milliseconds until the ratelimit resets
The Date time in which the bucket will reset
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
Reset the remaining tokens to the base limit
Generated using TypeDoc
Bucket used for saving ratelimits