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

Method PostWorkTask

src/client/plugin_interface/ct_plugin_context.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected