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

Method PostDelayTask

src/render_panel/gr_context.cpp:143–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 void GrContext::PostDelayTask(std::function<void()>&& task, int ms) {
144 this->PostUIDelayTask([=, this]() {
145 auto t = task;
146 this->PostTask(std::move(t));
147 }, ms);
148 }
149
150 void GrContext::PostDBTask(std::function<void()>&& task) {
151 task_rt_->GetLastThread()->Post(SimpleThreadTask::Make(std::move(task)));

Callers 1

ForceStopAllProgramsMethod · 0.45

Calls 2

PostUIDelayTaskMethod · 0.95
PostTaskMethod · 0.95

Tested by

no test coverage detected