mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-02-12 11:46:14 +02:00
8 lines
204 B
Python
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
|