- From: Jake Archibald <notifications@github.com>
- Date: Tue, 18 Jun 2019 06:54:56 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 18 June 2019 13:55:19 UTC
Yeah, this feels like it could work. I don't think it makes top-level await useful to a service worker, but it seems like an ok way to work around it.
It doesn't prevent:
```js
const modulePromise = import('./this-has-top-level-await');
```
…which is great.
--
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/1407#issuecomment-503146013
Received on Tuesday, 18 June 2019 13:55:19 UTC