Skip to main content
Extremely Popular
Go to Latest
function processRateLimitedPaths
import { processRateLimitedPaths } from "https://deno.land/x/discordeno@17.2.0/rest/processRateLimitedPaths.ts";

This will create a infinite loop running in 1 seconds using tail recursion to keep rate limits clean. When a rate limit resets, this will remove it so the queue can proceed.