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

Method add_task

gui/gdre_progress.cpp:106–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void GDREBackgroundProgress::add_task(const String &p_task, const String &p_label, int p_steps) {
107 callable_mp(this, &GDREBackgroundProgress::_add_task).call_deferred(p_task, p_label, p_steps);
108}
109
110void GDREBackgroundProgress::task_step(const String &p_task, int p_step) {
111 //this code is weird, but it prevents deadlock.

Callers 2

EditorProgressGDDCMethod · 0.45
progress_add_taskMethod · 0.45

Calls 2

try_emplace_lMethod · 0.80
is_headlessMethod · 0.80

Tested by

no test coverage detected