Re: [w3c/ServiceWorker] event.waitUntil/respondWith vs return promise (#1148)

fwiw the general problem here is event handler return values are already used for preventing default. Making them do something different events seems a bit weird.

Also, if you don't want to handle a fetch, you just avoid calling `respondWith`. This gets more complicated with return values, as functions always return.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1148#issuecomment-302910717

Received on Sunday, 21 May 2017 02:24:36 UTC