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

Function nextMicroTask

test/unit/polyfills/test-intersection-observer.js:275–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273 });
274
275 function nextMicroTask() {
276 return Promise.resolve().then(() => Promise.resolve());
277 }
278
279 it('should reset stub before running the installer', () => {
280 const {win} = env;

Callers 1

Calls 2

resolveMethod · 0.80
thenMethod · 0.45

Tested by

no test coverage detected