1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2025-02-12 11:46:14 +02:00
STARK/General/ThreadingFunction.py
MarkParker5 89b60734ed update acobjects
create Notifications and DispatchQueue
2021-11-28 00:06:17 +02:00

8 lines
204 B
Python

from threading import Thread
def threadingFunction(func):
def starter(*args, **kwargs):
thread = Thread(target = func, args = args, kwargs = kwargs)
thread.start()
return starter