Is it possible to get the browser's network request time-out value programmatically?
I have an application that calls an API every thirty seconds, and as I understand, "a fetch()
requests time-outs at the time indicated by the browser." https://dmitripavlutin.com/timeout-fetch-request/
I want to handle time-out requests by canceling them before they reach the default browser's time-out value.
Is it possible to get the browser's network request time-out value programmatically? (Ex: Chrome network request timeouts at 300 seconds, while in Firefox at 90 seconds)
Or,
Is there a better/standard way to handle this scenario?
Thank you in advance