This interface is implemented by the following components:
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.
Reference documentation is generated from Mozilla's source.