MCPcopy Create free account
hub / github.com/microsoft/SandDance / wake

Function wake

docs/app/js/sanddance-app.js:136674–136684  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136672 --frame;
136673}
136674function wake() {
136675 clockNow = (clockLast = clock.now()) + clockSkew;
136676 frame = timeout = 0;
136677 try {
136678 timerFlush();
136679 } finally{
136680 frame = 0;
136681 nap();
136682 clockNow = 0;
136683 }
136684}
136685function poke() {
136686 var now1 = clock.now(), delay = now1 - clockLast;
136687 if (delay > pokeDelay) clockSkew -= delay, clockLast = now1;

Callers

nothing calls this directly

Calls 2

timerFlushFunction · 0.70
napFunction · 0.70

Tested by

no test coverage detected