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

Method scheduleUpdate

Source/Node/Node.cpp:837–845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

835}
836
837void Node::scheduleUpdate() {
838 if (_flags.isOn(Node::Updating)) return;
839 _flags.setOn(Node::Updating);
840 if (_flags.isOff(Node::Running)) return;
841 auto updateItem = getUpdateItem();
842 if (!updateItem->scheduled()) {
843 _scheduler->schedule(updateItem->scheduledItem.get());
844 }
845}
846
847void Node::scheduleFixedUpdate() {
848 if (_flags.isOn(Node::FixedUpdating)) return;

Callers 4

createMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45

Calls 6

isOnMethod · 0.80
setOnMethod · 0.80
isOffMethod · 0.80
scheduledMethod · 0.80
getMethod · 0.65
scheduleMethod · 0.45

Tested by

no test coverage detected