App.threading
- App.threading(func, args=[], kwargs={}, on_progress=None, on_result=None, include_self=False)[source]
Execute a multi-threaded function.
- Parameters
- funcfunction
The function to be executed.
- argslist, optional
The arguments to be passed to the function.
- kwargsdict, optional
The keyword arguments to be passed to the function.
- on_progressfunction, optional
A function to be called on progress event.
- on_resultfunction, optional
A function to be called on result event.
- include_selfbool, optional
Include the thread worker instance in the arguments, for sending out progress singals.
- Returns
- None