Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at


nsIRunnable is generated from  nsIRunnable.idl
Here is the prototype of nsIRunnable.idl
 * Represents a task which can be dispatched to a thread for execution.
interface nsIRunnable : nsISupports
     * The function implementing the task to be run.
    void run();


Document Tags and Contributors

 Contributors to this page: Sheppy, brucebaozhiqiang
 Last updated by: Sheppy,