Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function processRateLimitedPaths
import { processRateLimitedPaths } from "https://deno.land/x/discordeno@17.0.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.

Parameters

rest: RestManager