Re: [ServiceWorker] Message-driven communication between workers and consumers (#580)

The idea it to provide a bidirectional communication, like using SharedWorkers and dispatching events through multiple clients
For example, there is possible to retrieve the connected ports on `message` worker event and perform `postMessage`, right? Like [this](https://github.com/h2non/sharedworkers-angular-poc/blob/master/app/scripts/workers/shared.js)
The workers [spec](http://www.w3.org/TR/workers/#the-worker-s-ports) is not too much clear

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

Received on Wednesday, 10 December 2014 19:15:19 UTC