MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / PostWorkTask

Method PostWorkTask

src/render/plugin_interface/gr_plugin_context.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void GrPluginContext::PostWorkTask(std::function<void()>&& task) {
30 if (work_thread_) {
31 work_thread_->Post(std::move(task));
32 }
33 }
34
35 void GrPluginContext::PostUITask(std::function<void()>&& task) {
36 QMetaObject::invokeMethod(this, [t = std::move(task)]() {

Callers 5

On1SecondMethod · 0.45
On1SecondMethod · 0.45
PostProtoMessageMethod · 0.45
On1SecondMethod · 0.45
On1SecondMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected