Module

x/discordeno/mod.ts>processRateLimitedPaths

Discord API library for Deno
Latest
function processRateLimitedPaths
import { processRateLimitedPaths } from "https://dotland.deno.dev/x/discordeno@18.0.1/mod.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
import processRateLimitedPaths
import { processRateLimitedPaths } from "https://dotland.deno.dev/x/discordeno@18.0.1/mod.ts";