The shape of the rate limit state managed by the context.
export interface RateLimitState { isRateLimited: boolean; retryAfter: number | null; message: string | null;} Copy
export interface RateLimitState { isRateLimited: boolean; retryAfter: number | null; message: string | null;}
Whether the API is currently rate limited.
The timestamp (ms) when requests can be retried, or null.
The message to display to the user, or null.
The shape of the rate limit state managed by the context.
Source