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

Function timer

docs/app/js/sanddance-app.js:136659–136663  ·  view source on GitHub ↗
(callback, delay, time)

Source from the content-addressed store, hash-verified

136657 }
136658};
136659function timer(callback, delay, time) {
136660 var t = new Timer;
136661 t.restart(callback, delay, time);
136662 return t;
136663}
136664function timerFlush() {
136665 now(); // Get the current time, if not already set.
136666 ++frame; // Pretend we’ve set an alarm, if we haven’t already.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected