MCPcopy
hub / github.com/ampproject/amphtml / waitForNextBodyChunk

Function waitForNextBodyChunk

test/unit/utils/test-dom-writer.js:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 });
33
34 function waitForNextBodyChunk() {
35 return new Promise((resolve) => {
36 onBodyChunkPromiseResolver = resolve;
37 });
38 }
39
40 it('should complete when writer has been closed', () => {
41 writer.close();

Callers 1

test-dom-writer.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected