Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function createLeakyBucket
Re-export
import { createLeakyBucket } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";

Parameters

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