Type alias TimeBasedLimiterConfig

TimeBasedLimiterConfig: {
    [key: number]: number;
}

Type definition for the configuration of a TimeBasedLimiter. Maps timeframes (in milliseconds) to the number of allowed requests within that timeframe.

Type declaration

  • [key: number]: number

Generated using TypeDoc