In this post I will present RepeatTimer class that features:
- RepeatTimer (as its threading.Timer ancestor) is being executed in a separate thread
- RepeatTimer executes function on its triggering
- Interface provides ability to trigger RepeatTimer immediately, and start new countdown
- Interface provides ability to set new interval that will be applied after upcoming triggering
- cancel method disengage RepeatTimer and kills its thread
https://github.com/mushkevych/scheduler
No comments:
Post a Comment