Re: [w3c/ServiceWorker] New "setup" lifecycle for service worker (#1576)

When ES modules will be enabled for service workers by default, which can happen pretty soon, it'll be possible to use top-level await to read the storage at the beginning of the script in a "blocking" fashion so it completes before the subsequent code in the script runs.

-- 
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/1576#issuecomment-814950754

Received on Wednesday, 7 April 2021 14:16:05 UTC