Ahenk/opt/ahenk/base/timer/setup_timer.py

9 lines
174 B
Python
Raw Normal View History

from multiprocessing import Process
class SetupTimer:
@staticmethod
def start(timer):
thread_timer = Process(target=timer.run)
thread_timer.start()