The start() method of PySide6.QtCore.QThreadPool should also extract this
code that Qt6 has:
void QThreadPool::start(std::function functionToRun, int priority)
{
if (!functionToRun)
return;
start(QRunnable::create(std::move(functionToRun)), priority);
}
and, of course
bool
In PyQt6, the start() method of QThreadPool has 2 signatures:
(1) PyQt6.QtCore.QThreadPool().start(QRunnable, priority: int = 0)
(2) PyQt6.QtCore.QThreadPool().start(Callable[[], None], priority: int = 0)
In PyQt6, you don’t need a runnable (a QRunnable
Hello!
In PyQt6, there are two signatures for the start() method of QThreadPool():
1. PyQt6.QtCore.QThreadPool().start(QRunnable, priority: int = 0)
2. PyQt6.QtCore.QThreadPool().start(Callable[[], None], priority: int = 0)
In PyQt6, you don’t need a runnable, you just simply pass a callable (a