Defined in: rate-limiter.ts:4
Information about a rate limit rejection
currentExecutions: number;
currentExecutions: number;
Defined in: rate-limiter.ts:12
Current number of executions in the window
limit: number;
limit: number;
Defined in: rate-limiter.ts:16
Maximum allowed executions per window
msUntilNextWindow: number;
msUntilNextWindow: number;
Defined in: rate-limiter.ts:8
Number of milliseconds until the next execution will be possible
rejectionCount: number;
rejectionCount: number;
Defined in: rate-limiter.ts:20
Total number of rejections that have occurred
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.