Readonlykey: IKeyThe unique identifier for this rate limiter instance. Multiple rate limiter instances with the same key share the same request quota.
Readonlylimit: numberThe maximum number of allowed requests within the rate limiting window.
Retrieves the current state of the rate limiter.
The current rate limiter state (allowed, blocked, expired, etc.)
State and metadata methods for a rate limiter instance. Provides read-only access to rate limiter state and configuration properties.
IMPORT_PATH:
"@daiso-tech/core/rate-limiter/contracts"