7.6.2.27. consoleFetch
A custom wrapper around fetch that adds console specific headers and allows for retries and timeouts.It also validates the response status code and throws appropriate error or logs out the user if required. It returns a promise that resolves to the response.
| Parameter Name | Description |
|---|---|
|
| The URL to fetch |
|
| The options to pass to fetch |
|
| The timeout in milliseconds |