refactor: Task Manager related code

This commit is contained in:
WerWolv
2023-12-06 11:04:35 +01:00
parent 1be9e8c5b1
commit 37ac1b66dd
5 changed files with 85 additions and 46 deletions

View File

@@ -166,6 +166,8 @@ namespace hex {
private:
static void runner(const std::stop_token &stopToken);
static TaskHolder createTask(std::string name, u64 maxValue, bool background, std::function<void(Task &)> function);
};
}