[html5] Is there any way to processmessages inside a worker?

Marcelo Saviski marcelosaviski at gmail.com
Mon Jul 12 15:29:36 PDT 2010


It's possible?

inside the myworker.js:

onmessage = function() {
>   //why you don't call me?
> }
>
> while (true) {
>   doSomething();
>   processMessages(); //check for waiting message in the message queue
> }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20100712/1cb1d30c/attachment-0002.htm>


More information about the Help mailing list