Execute a function in another thread and call a callback when it's finished.
The output from the function is passed to the callback.
- Parameters:
-
-
finished(*args)
-
- Parameters:
output (Any
) -- The output from the function.
-
run() → None
Run this task.
- Return type:
None