Starts a timer by starting a timer thread Adds timer to the list of active timers
(self)
| 9788 | return |
| 9789 | |
| 9790 | def start(self): |
| 9791 | """ |
| 9792 | Starts a timer by starting a timer thread |
| 9793 | Adds timer to the list of active timers |
| 9794 | """ |
| 9795 | self.running = True |
| 9796 | self.thread = threading.Thread(target=self.timer_thread, daemon=True) |
| 9797 | self.thread.start() |
| 9798 | _TimerPeriodic.active_timers[self.id] = self |
| 9799 | |
| 9800 | def stop(self): |
| 9801 | """ |
no outgoing calls
no test coverage detected