MCPcopy Create free account
hub / github.com/ampproject/amphtml / timerCallback

Method timerCallback

extensions/amp-analytics/0.1/events.js:1307–1309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1305 startTimer_(timerId, eventType, listener) {
1306 const timerHandler = this.trackers_[timerId];
1307 const timerCallback = () => {
1308 listener(this.createEvent_(timerId, eventType));
1309 };
1310 timerHandler.startIntervalInWindow(
1311 this.root.ampdoc.win,
1312 timerCallback,

Callers

nothing calls this directly

Calls 2

createEvent_Method · 0.95
listenerFunction · 0.50

Tested by

no test coverage detected