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

Method dispatch

src/hints/IdleTimer.js:60–65  ·  view source on GitHub ↗

* Calls all subscribed functions, and resets the timer. * @return {void}@memberof IdleTimer

()

Source from the content-addressed store, hash-verified

58 * @return {void}@memberof IdleTimer
59 */
60 dispatch() {
61 for (let i = 0; i < this.listeners.length; i++) {
62 this.listeners[i]();
63 }
64 this.reset();
65 }
66
67 /**
68 * Adds a function to be called when timer is dispatched

Callers 1

IdleTimer.spec.jsFile · 0.80

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected