Information about a rate-limiting event. Both the request and response information are provided.

interface RateLimitEvent {
    fetchParameters: FetchParameters;
    response: Response;
}

Properties

fetchParameters: FetchParameters

The complete arguments that were passed to the fetch function.

response: Response

The failing HTTP response.