import { rateLimit } from "https://deno.land/x/gamla@91.0.0/src/index.ts";
type
<Function extends AsyncFunction>() => Function
maxCalls: number,
maxWeight: number,
timeWindowMs: number,
weight: (...args: Parameters<Function>) => number,
f: Function,