The shape of the rate limit state managed by the context.
interface RateLimitState { isRateLimited: boolean; retryAfter: number | null; message: string | null;} Copy
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