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

Method PostUITask

src/render/plugin_interface/gr_plugin_context.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 void GrPluginContext::PostUITask(std::function<void()>&& task) {
36 QMetaObject::invokeMethod(this, [t = std::move(task)]() {
37 t();
38 });
39 }
40
41 void GrPluginContext::PostDelayTask(std::function<void()>&& task, int delay) {
42 QTimer::singleShot(delay, [t = std::move(task)]() {

Callers 1

OnRawVideoFrameRgbaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected