RateLimitResult
RateLimitResult
Result for a single limiter/window evaluation used for aggregation.
Signature
interface RateLimitResult {
key: string;
scope: RateLimitScope;
algorithm: RateLimitAlgorithmType;
windowId?: string;
limited: boolean;
remaining: number;
resetAt: number;
retryAfter: number;
limit: number;
}