Re: [slightlyoff/ServiceWorker] consider allowing multiple worker thread instances for a single registration (#756)

If we did multiple SW instances I think we could maybe still support one-to-one messaging with the instances.  For example, when a SW receives a fetch event it could construct a new `MessageChannel`.  It could then `postMessage()` the channel back to the client.  The client could then use the channel to communicate with that single instance directly.

I think that would work, but maybe I don't fully understand `MessageChannel`.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/756#issuecomment-237247559

Received on Wednesday, 3 August 2016 15:28:48 UTC