MCPcopy
hub / github.com/Tampermonkey/tampermonkey / cancelTimer

Function cancelTimer

src/background.js:898–901  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

896 var watchdog = null;
897
898 var cancelTimer = function() {
899 if (timer) window.clearTimeout(timer);
900 timer = null;
901 };
902
903 var setTimer = function() {
904 cancelTimer();

Callers 3

setTimerFunction · 0.85
errorFunction · 0.85
doneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…