Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #27068
| From | Richard Maher <maher_rjSPAMLESS@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | When does Web Worket postMessage({}) return to caller |
| Date | 2015-03-19 10:30 +0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <medcc1$58h$1@speranza.aioe.org> (permalink) |
I have a recollection of reading that a postMessage request will not return until the onmessage event has been delivered to the recipient. Having said that, I can't seem to find any reference on the web at the mo and docs such as: - https://html.spec.whatwg.org/multipage/workers.html talk of message "queues" which make me think that messages can be stacked/queued up for processing. Does someone here have a reference pointer for the prescribed behaviour? Can a web-page and worker get into a deadlock by simply trying to send messages to each other at the same time? NB: As always can the regular personality disorders go "follow" themselves somewhere else?
Back to comp.lang.javascript | Previous | Next | Find similar | Unroll thread
When does Web Worket postMessage({}) return to caller Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-03-19 10:30 +0800
csiph-web