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

Method whenMessagingReady

src/service/viewer-interface.js:221–221  ·  view source on GitHub ↗

* Resolves when there is a messaging channel established with the viewer. * Will be null if no messaging is needed like in an non-embedded document. * Deprecated: do not use. sendMessage and sendMessageAwaitResponse already * wait for messaging channel ready. * @return {?Prom

()

Source from the content-addressed store, hash-verified

219 * @return {?Promise}
220 */
221 whenMessagingReady() {}
222
223 /**
224 * Replace the document url with the viewer provided new replaceUrl.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected