Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsITimerManager Interface Reference

import "nsITimerManager.idl";

Inheritance diagram for nsITimerManager:
Inheritance graph
[legend]
Collaboration diagram for nsITimerManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean hasIdleTimers ()
void fireNextIdleTimer ()

Public Attributes

attribute boolean useIdleTimers
 A flag that turns on the use of idle timers on the main thread.

Detailed Description

Definition at line 44 of file nsITimerManager.idl.


Member Function Documentation


Member Data Documentation

A flag that turns on the use of idle timers on the main thread.

this should only be called once.

By default, idle timers are off.

One this is set to TRUE, you are expected to call hasIdleTimers/fireNextIdleTimer when you have time in your main loop.

Definition at line 55 of file nsITimerManager.idl.


The documentation for this interface was generated from the following file: