I'm interested in solving this one.
Question: we have the need to run some code periodically in different places (this one, the cleanup feature, possibly the "alarm" thingie). Should we implement a single signal that "ticks" every half an hour or so or everything gets its own custom timer?
Pro custom:
- not having custom timers isn't like reimplementing the timer?
Against custom:
- code is more understandable
- recurring events can be turned on/off easily
I'm interested in solving this one.
Question: we have the need to run some code periodically in different places (this one, the cleanup feature, possibly the "alarm" thingie). Should we implement a single signal that "ticks" every half an hour or so or everything gets its own custom timer?
Pro custom:
- not having custom timers isn't like reimplementing the timer?
Against custom:
- code is more understandable
- recurring events can be turned on/off easily