Re: [w3c/ServiceWorker] Handle asynchronous modules (top-level await). (#1444)

> I was thinking that if you exceed the ticks it's equivalent to an evaluation error. So you're allowed to do some minor `queueMicrotask()`-type stuff, but nothing else.

I thought we already got microtasks for free since they're handled just after "executing as script". The bit I'd be worried about is:

```js
addEventListener('fetch', …);
await usuallyFast();
```

…which means you have a service worker that *usually* works, but sometimes doesn't.

-- 
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/pull/1444#issuecomment-506673372

Received on Friday, 28 June 2019 09:42:46 UTC