Greetings. In our angular app, sometimes we see requests made by the JS API which do not succeed. These include basemap tiles, or requests to various GIS services, other content endpoints. 504 Gateway timeout is the main culprit.
With angular we can implement HttpInterceptor, and retry failed requests.
In the JS API, we have interceptors in esri config request, which can affect requests before they are sent, change responses as they are received, or see failed responses.
When we get failed error responses, is it possible to implement retry logic, so we can try to recover from intermittent API failures?
Thank you