asdf
This commit is contained in:
7
utils/RepeatTimer.py
Normal file
7
utils/RepeatTimer.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from threading import Timer
|
||||
|
||||
|
||||
class RepeatTimer(Timer):
|
||||
def run(self):
|
||||
while not self.finished.wait(self.interval):
|
||||
self.function(*self.args, **self.kwargs)
|
||||
Reference in New Issue
Block a user