Type Alias RateLimiterProviderCreateSettings

RateLimiterProviderCreateSettings: ErrorPolicySettings & {
    limit: number;
    onlyError?: boolean;
}

IMPORT_PATH: "@daiso-tech/core/rate-limiter/contracts"

Type declaration

  • limit: number
  • OptionalonlyError?: boolean

    If true will only apply rate limiting when function errors and not when function is called.

    false