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

8 lines
174 B
Python

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