MCPcopy Create free account
hub / github.com/breck7/scroll / timerFlush

Function timerFlush

external/.d3.js:4086–4095  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4084}
4085
4086function timerFlush() {
4087 now(); // Get the current time, if not already set.
4088 ++frame; // Pretend we’ve set an alarm, if we haven’t already.
4089 var t = taskHead, e;
4090 while (t) {
4091 if ((e = clockNow - t._time) >= 0) t._call.call(undefined, e);
4092 t = t._next;
4093 }
4094 --frame;
4095}
4096
4097function wake() {
4098 clockNow = (clockLast = clock.now()) + clockSkew;

Callers 1

wakeFunction · 0.85

Calls 1

nowFunction · 0.85

Tested by

no test coverage detected