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

> In fact, now I think about it, event.waitUntil seems like completely redundant information. When would you ever deliberately want to terminate before some other task you've scheduled?

The browser will want to do this if you're using too much background CPU. It can use extendable events to track which events have granted the service worker additional run time, and that run time can be revoked.

-- 
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-305480357

Received on Thursday, 1 June 2017 12:37:14 UTC