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