MCPcopy
hub / github.com/MagicMirrorOrg/MagicMirror / clearTimer

Method clearTimer

js/http_fetcher.js:97–102  ·  view source on GitHub ↗

* Clears any pending reload timer

()

Source from the content-addressed store, hash-verified

95 * Clears any pending reload timer
96 */
97 clearTimer () {
98 if (this.reloadTimer) {
99 clearTimeout(this.reloadTimer);
100 this.reloadTimer = null;
101 }
102 }
103
104 /**
105 * Schedules the next fetch.

Callers 14

fetchMethod · 0.95
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected