IRateLimiter: IRateLimiterStateMethods & {
    reset(): Promise<void>;
    runOrFail<TValue = void>(asyncFn: AsyncLazy<TValue>): Promise<TValue>;
}

Rate limiting operations for controlling request throughput. Provides methods to execute async functions within rate limit constraints.

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

Type declaration