Trees | Indices | Help |
|
---|
|
Based on threading._Thread but allows for resetting the Timer.
t = Timer(30.0, f, args=[], kwargs={}) t.start() t.cancel() # stop the timer's action if it's still waiting
# or
t.reset()
After excecution, the status of the run can be checked via the "completed" and the "exception" Event instances.
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jan 24 19:49:04 2012 | http://epydoc.sourceforge.net |