- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 08 Feb 2021 09:43:47 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 8 February 2021 17:43:59 UTC
Consider what happens when we reach step 10 of `fetch()`, which calls the "fetch" algorithm. The only way the promise ever gets resolved or rejected is once "process response" gets invoked. However, it's possible to (synchronously) reach a step which reads "Return a network error", e.g. fetch step 2.3, or main fetch step 3.2, 3.3. In which case "process response" never gets invoked, so in theory the promise doesn't settle. -- 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/1164
Received on Monday, 8 February 2021 17:43:59 UTC