MCPcopy Index your code
hub / github.com/SpringRoll/SpringRoll / stop

Method stop

src/hints/IdleTimer.js:47–54  ·  view source on GitHub ↗

* @return {void}@memberof IdleTimer

()

Source from the content-addressed store, hash-verified

45 * @return {void}@memberof IdleTimer
46 */
47 stop() {
48 if (!this.timer) {
49 Debugger.log('warn', '[IdleTimer.reset()] timer has not been started');
50 return;
51 }
52 clearTimeout(this.timer);
53 this.timer = null;
54 }
55
56 /**
57 * Calls all subscribed functions, and resets the timer.

Callers 1

IdleTimer.spec.jsFile · 0.45

Calls 1

logMethod · 0.80

Tested by

no test coverage detected