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

Method waitForHead

src/utils/dom-transform-stream.js:97–99  ·  view source on GitHub ↗

* Promise that will resolve with when available. * @return {!Promise<!Element>}

()

Source from the content-addressed store, hash-verified

95 * @return {!Promise<!Element>}
96 */
97 waitForHead() {
98 return this.headPromise_;
99 }
100
101 /**
102 * Start the body transfer process. Should only be called once.

Callers 2

streamResponse_Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected