Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/util/bucket.ts>createLeakyBucket

Discord API library for Deno
Go to Latest
function createLeakyBucket
import { createLeakyBucket } from "https://deno.land/x/discordeno@17.0.1/util/bucket.ts";

Parameters

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