mafw.steering_gui.threading.workers
Threading helpers for future steering GUI background tasks.
- Author:
Bulgheroni Antonio (antonio.bulgheroni@ec.europa.eu)
- Description:
Define a reusable worker QObject that can execute callables without blocking the UI.
Module Attributes
Type variable for the return type of the worker's callable. |
Classes
|
Run a callable in a thread pool while exposing progress, error, and completion signals. |
Bundle of signals emitted by a worker. |
- class mafw.steering_gui.threading.workers.T
Type variable for the return type of the worker’s callable.
alias of TypeVar(‘T’)
- class mafw.steering_gui.threading.workers.Worker(fn: Callable[[...], T], *args: Any, **kwargs: Any)[source]
Bases:
QRunnable,Generic[T]Run a callable in a thread pool while exposing progress, error, and completion signals.