Message78672
Note that doing this would change the class semantics.
Timer "[...] represents an action that should be run only after a
certain amount of time has passed — a timer." and the example clearly
shows that the action is run *once*.
Timer is basically an example of how to write custom Thread
subclasses; if you want a "repetitive action", you may easily write a
subclass based on the code you posted. Not every useful class must be
in the standard library... |
|
Date |
User |
Action |
Args |
2009-01-01 00:54:40 | ggenellina | set | recipients:
+ ggenellina, gestapo21th |
2009-01-01 00:54:40 | ggenellina | set | messageid: <1230771280.8.0.276734985232.issue4781@psf.upfronthosting.co.za> |
2009-01-01 00:54:40 | ggenellina | link | issue4781 messages |
2009-01-01 00:54:39 | ggenellina | create | |
|