Re: [ServiceWorker] Allow respondWith() to be called asynchronously or allow some way to cancel the response. (#836)

@mkruisselbrink yes, JS is not blocking. Is the underlaying `respondWith()` mechanism which is blocked.

@wanderview, so `null` or `undefined` are the "cancel values" for `respondWith. The "no one wants to intercept this" scenario is not very different from having a `respondWith()` passed with a promise that never resolves. Actually, it is slightly better as you could answer from the network instead.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/836#issuecomment-186557773

Received on Saturday, 20 February 2016 09:43:46 UTC