Part of aculab.timer View Source View In Hierarchy
Known subclasses: aculab.timer.TimerThread
| Method | __init__ | Undocumented |
| Method | add | Add a timer after interval in seconds. |
| Method | cancel | Cancel a timer. |
| Method | time_to_wait | Return the time to wait for the next timer in ms or -1 |
| Method | get_pending | Return a list of pending timers. |
| Returns | the tuple (timer, flag). flag is True if the timer added is the next timer due. | |
| Returns | True if the cancelled timer is the next timer due. | |