MCPcopy
hub / github.com/ampproject/amphtml / wrapped

Method wrapped

src/service/timer-impl.js:69–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 return id;
68 }
69 const wrapped = () => {
70 try {
71 callback();
72 } catch (e) {
73 reportError(e);
74 throw e;
75 }
76 };
77 const index = this.win.setTimeout(wrapped, opt_delay);
78 if (getMode().test) {
79 if (!timersForTesting) {

Callers

nothing calls this directly

Calls 2

reportErrorFunction · 0.90
callbackFunction · 0.50

Tested by

no test coverage detected