Re: [whatwg/fetch] Add timeout option (#20)

@Mouvedia You are misunderstanding. Failure is not the same as an error. There is no error if the server fails to send data, there is simply nothing.

That is why you are supposed to add in a timeout. The timeout will throw an `AbortError` if the server takes too long to send the data:

https://dom.spec.whatwg.org/#abortcontroller-api-integration

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/20#issuecomment-541304812

Received on Saturday, 12 October 2019 09:10:23 UTC