RateLimiter
RateLimiter:
object
Defined in: Core/RateLimiter.ts:24
Type Declaration
Section titled “Type Declaration”make: (
config) =>RateLimiter=makeRateLimiter
Creates a rate limiter with the provided quota and queueing policy.
Parameters
Section titled “Parameters”config
Section titled “config”Returns
Section titled “Returns”RateLimiter for the sliding window and the two overflow strategies.