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

Function setInterval

test/unit/test-friendly-iframe-embed.js:957–961  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

955 },
956 },
957 setInterval() {
958 const interval = window.setInterval.apply(window, arguments);
959 polls.push(interval);
960 return interval;
961 },
962 clearInterval(interval) {
963 window.clearInterval.apply(window, arguments);
964 const index = polls.indexOf(interval);

Callers

nothing calls this directly

Calls 2

applyMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected