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

Function nextMicroTask

test/unit/polyfills/test-resize-observer.js:114–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 });
113
114 function nextMicroTask() {
115 return Promise.resolve().then(() => Promise.resolve());
116 }
117
118 it('should reset stub before running the installer', () => {
119 const {win} = env;

Callers 1

Calls 2

resolveMethod · 0.80
thenMethod · 0.45

Tested by

no test coverage detected