Skip to content
// EFFECT DAYS 2026

DurableRateLimiter

1 exports Since v1.0.0 Source

Accessors

Signature

declare function rateLimit(options: {
readonly algorithm?: "fixed-window" | "token-bucket";
readonly key: string;
readonly limit: number;
readonly name: string;
readonly tokens?: number;
readonly window: DurationInput;
}): Activity<Void, any, RateLimiter>