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

Function waitNext

test/unit/test-runtime.js:365–367  ·  view source on GitHub ↗
(promise)

Source from the content-addressed store, hash-verified

363 return Promise.resolve().then(() => Promise.resolve());
364 }
365 function waitNext(promise) {
366 return Promise.race([promise, skipMicro()]);
367 }
368
369 let progress = '';
370 const queueExtensions = win.AMP;

Callers 1

test-runtime.jsFile · 0.85

Calls 1

skipMicroFunction · 0.85

Tested by

no test coverage detected