Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ flush
Function
flush
test/unit/utils/test-dom-transform-stream.js:6–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
5
describes.fakeWin(
'DomTransformStream'
, {amp: true}, (env) => {
6
async
function
flush() {
7
await
macroTask();
8
env.flushVsync();
9
await
macroTask();
10
}
11
12
let
win;
13
let
transformer;
Callers
1
test-dom-transform-stream.js
File · 0.70
Calls
1
macroTask
Function · 0.90
Tested by
no test coverage detected