Changes

Jump to: navigation, search

DOMWorkerThreads

305 bytes added, 23:00, 23 June 2008
no edit summary
interface nsIDOMWorkerPool : nsIDOMWorkerThread
{
/**
* The nsIDOMWorkerMessageListener which handles messages for this pool.
*
* Developers should set this attribute to a proper object before another
* worker begins sending messages to ensure that all messages are received.
*/
attribute nsIDOMWorkerMessageListener messageListener;
 
/**
* The nsIDOMWorkerErrorListener which handles errors in child threads.
' /* do something */ ' +
'} '+
'sendMessageToPoolpostMessageToPool("Done!"); ';
var wp = navigator.newWorkerPool();
Confirm
137
edits

Navigation menu