MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

nsIWorkerMessagePort

This interface represents a worker thread's message port, which is used to allow the worker to post messages back to its creator.
1.0
28
Introduced
Gecko 1.9.1
Inherits from: nsISupports Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Method overview

void postMessage(in DOMString aMessage);

Methods

postMessage()

Posts a message into the event queue.

 void postMessage(
   in DOMString aMessage
 );
Parameters
aMessage
The message to post.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Jürgen Jeka
 Last updated by: Sheppy,