Re: [ServiceWorker] Event queuing model for SW (#649)

> (B) needs task queue(s) associated with the registration. And the service worker's event loop should process the registration's task queue instead of its own task queue in a way

I noticed a problem with the above. The service worker's event loop should also have to process its own task queue for `message` events. So, if we go with (B) external queue model, requeuing from/to between service worker's task queue and registration's task queue seems not avoidable.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/649#issuecomment-91084670

Received on Thursday, 9 April 2015 01:23:48 UTC