Re: [w3c/ServiceWorker] Detecting service worker termination (#1550)

Also, it's fine to coordinate the amortized cleanup work using global variables set in the ServiceWorker (protected by an active waitUntil).  That is, while it's appropriate to regularly checkpoint state to storage, there's no need to be paranoid about avoiding the use of globals.

-- 
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/1550#issuecomment-720723203

Received on Monday, 2 November 2020 21:04:18 UTC