thread#

ignis.utils.Utils.thread(target: Callable, *args, **kwargs) Thread#

Simply run the given function in a thread. The provided args and kwargs will be passed to the function.

Parameters:

target (Callable) -- The function to run.

Returns:

The thread in which the function is running.

Return type:

threading.Thread`