Re: [whatwg/dom] Abort controller design (#438)

@Jxck I'm not sure what does exactly that you think. `Promise.race()` rejects as soon as one of the promises rejects, so if one of your mirrors is down, it may result in rejection before one of your mirrors responds. You may want `promiseAny()` from https://jakearchibald.com/2014/offline-cookbook/#cache-network-race.

Also, note that you're also aborting `res`'s body stream when you call `controller.abort()`.

-- 
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/dom/issues/438#issuecomment-316002080

Received on Tuesday, 18 July 2017 08:59:27 UTC