On Thursday, 14 March 2013 14:19:57 UTC, Kyle Huey  wrote:
> 
> 
> 
> Message passing from a worker to a sub-worker (or vice versa) only involves
> 
> the worker thread and the sub-worker thread.
> 
> 
> 
> - Kyle

Excellent thanks Kyle, that's what I was hoping.


Before I go ahead and re-invent the wheel, does anyone know of any message 
routing pattern to effectively marshal a message from one worker back to the 
poster?

The only option I can see is some kind of combination of MessageEvent.target.id 
+MessageEvent.timeStamp and a lookup table to post a response back to the 
correct onmessage handler. Just wondered if there's something more elegant I'm 
missing?


Cheers,

Neil
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to