Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
test-intersection-observer.js
File · 0.70
Calls
2
resolve
Method · 0.80
then
Method · 0.45
Tested by
no test coverage detected