MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / schedule

Method schedule

Source/Basic/Scheduler.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void Scheduler::schedule(NotNull<ScheduledItem, 1> item) {
94 AssertIf(item->iter, "target item is already scheduled");
95 item->target->retain();
96 item->iter = _updateList.emplace(_updateList.end(), item);
97}
98
99void Scheduler::scheduleFixed(const std::function<bool(double)>& handler) {
100 FixedFuncWrapper* func = FixedFuncWrapper::create(handler);

Callers 1

startMethod · 0.45

Calls 12

updateProgressMethod · 0.80
addMethod · 0.65
getMethod · 0.65
createFunction · 0.50
allocFunction · 0.50
retainMethod · 0.45
emplaceMethod · 0.45
endMethod · 0.45
isRunningMethod · 0.45
getCountMethod · 0.45
removeActionMethod · 0.45
emitMethod · 0.45

Tested by

no test coverage detected