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

Method PostDelayTask

src/render/rd_context.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void RdContext::PostDelayTask(std::function<void()>&& task, int delay) {
67 PostUITask([=]() {
68 QTimer::singleShot(delay, [=]() {
69 task();
70 });
71 });
72 }
73
74 void RdContext::PostStreamPluginTask(std::function<void()>&& task) {
75 stream_plugin_thread_->Post(std::move(task));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected