Skip to main content
The Deno 2 Release Candidate is here
Learn more
function createLeakyBucket
Re-export
import { createLeakyBucket } from "https://deno.land/x/discordeno_patched@18.0.2/plugins/validations/deps.ts";

Parameters

unnamed 0: Omit<PickPartial<LeakyBucket, "max" | "refillInterval" | "refillAmount">, "tokens"> & { tokens?: number; }

Returns

LeakyBucket