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

Thank you! "Concerns" seems pretty bad from a debugging perspective, i.e., action at a distance.

To address @littledan's concern, we could perhaps race the _evaluationPromise_ with another promise, but maybe that introduces issues for the remainder of the algorithm. (I was also thinking of this as a way to allow top-level await, but only for a limited number of ticks.)

This whole setup still seems rather suboptimal for the design of service workers.

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

Received on Friday, 28 June 2019 09:10:59 UTC