MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / is_current_task_completed

Method is_current_task_completed

utility/task_manager.cpp:707–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707bool TaskManager::is_current_task_completed(TaskManagerID p_task_id) const {
708 bool done = false;
709 group_id_to_description.if_contains(p_task_id, [&](auto &v) {
710 auto task = v.second;
711 if (task->is_done()) {
712 done = true;
713 }
714 });
715 return done;
716}
717
718void TaskManager::cancel_all() {
719 group_id_to_description.for_each_m([&](auto &v) {

Callers 1

batch_export_filesMethod · 0.80

Calls 2

if_containsMethod · 0.80
is_doneMethod · 0.45

Tested by

no test coverage detected