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

Method is_current_task_canceled

utility/task_manager.cpp:687–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685}
686
687bool TaskManager::is_current_task_canceled() {
688 bool canceled = false;
689 group_id_to_description.for_each([&](auto &v) {
690 if (v.second->is_canceled()) {
691 canceled = true;
692 }
693 });
694 return canceled;
695}
696
697bool TaskManager::is_current_task_timed_out() {
698 bool timed_out = false;

Callers 4

wait_update_progressMethod · 0.80
get_plugin_infoMethod · 0.80
export_resourceMethod · 0.80
_check_cancelledFunction · 0.80

Calls 2

for_eachMethod · 0.80
is_canceledMethod · 0.45

Tested by

no test coverage detected