Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

nsIRunnable

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,