- Extending Qt Creator Manual
- TaskTree
- QParallelTaskTreeRunner
- Extending Qt Creator Manual 19.0.2

# QParallelTaskTreeRunner Class

A parallel task tree execution controller. More...

Header: | `#include <qtasktreerunner.h>`
Inherits: | QAbstractTaskTreeRunner

- List of all members, including inherited members

## Public Functions

void | start(const QtTaskTree::Group &recipe, SetupHandler &&setupHandler = {}, DoneHandler &&doneHandler = {}, QtTaskTree::CallDoneFlags callDone)

## Detailed Description

Manages parallel task tree execution. Use the start() method to execute a given recipe instantly, keeping other possibly running task trees in parallel.

## Member Function Documentation

### template <typename SetupHandler = QAbstractTaskTreeRunner::TreeSetupHandler, typename DoneHandler = QAbstractTaskTreeRunner::TreeDoneHandler> void QParallelTaskTreeRunner::start(const QtTaskTree::Group &recipe, SetupHandler &&setupHandler = {}, DoneHandler &&doneHandler = {}, QtTaskTree::CallDoneFlags callDone)

Starts the recipe instantly and keeps other possibly running task trees in parallel. Calls setupHandler when new task tree is about to be started. Calls doneHandler when the task tree is finished. The doneHandler is called according to the passed callDone.