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

Method setReady

src/service/ampdoc-impl.js:951–956  ·  view source on GitHub ↗

* Signals that the shadow doc is ready. * @restricted

()

Source from the content-addressed store, hash-verified

949 * @restricted
950 */
951 setReady() {
952 devAssert(!this.ready_, 'Duplicate ready state');
953 this.ready_ = true;
954 this.readyResolver_();
955 this.readyResolver_ = undefined;
956 }
957
958 /** @override */
959 whenReady() {

Callers

nothing calls this directly

Calls 1

devAssertFunction · 0.90

Tested by

no test coverage detected