@mozilla.org/timer/manager;1

This component implements the following interfaces:

Properties

PRBool nsITimerManager.useIdleTimers

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.

Methods

InterfaceMethod
nsITimerManager void fireNextIdleTimer ( )
nsITimerManager PRBool hasIdleTimers ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com