Re: [w3c/ServiceWorker] Central algorithm for updating service worker state and registrations (#1416)

> Is the multiple-task vs single-task difference easily observable to script?

You could use a message port to queue a task, or `requestAnimationFrame` which *might* happen before the next task. It isn't guaranteed though.

With these changes, you're guaranteed *not* to have other tasks or `requestAnimationFrame` between these related events.

-- 
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/1416#issuecomment-498683536

Received on Tuesday, 4 June 2019 13:59:39 UTC