MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / CallAt

Method CallAt

CobaltFusion/GuiExecutor.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56ScheduledCall GuiExecutor::CallAt(const TimePoint& at, std::function<void ()> fn)
57{
58 unsigned id = GetCallId();
59 CallAsync([this, id, at, fn]()
60 {
61 m_scheduledCalls.Insert(GuiExecutor::CallData(id, at, fn));
62 ResetTimer();
63 });
64 return MakeScheduledCall(id);
65}
66
67ScheduledCall GuiExecutor::CallAfter(const Duration& interval, std::function<void ()> fn)
68{

Callers

nothing calls this directly

Calls 2

CallDataClass · 0.85
InsertMethod · 0.45

Tested by

no test coverage detected