dom/interfaces/threads/nsIDOMWorkers.idlScriptable
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
66
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