nsIAbstractWorker
Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)For usage details, see worker
and the article Using DOM workers.
void postMessage(in DOMString aMessage, [optional] in nsIWorkerMessagePort aMessagePort); |
Attribute | Type | Description |
onmessage |
| An object to receive notifications when messages are received on the worker's message port. |
Used to allow the worker to send a message back to the web application that created it.
void postMessage(
in DOMString aMessage,
in nsIWorkerMessagePort aMessagePort Optional
);
aMessage
aMessagePort