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

Method receiveMessage

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

* Requests AMP document to receive a message from Viewer. * @param {string} eventType * @param {!JsonObject} data * @param {boolean} unusedAwaitResponse * @return {(!Promise<*>|undefined)}

(eventType, data, unusedAwaitResponse)

Source from the content-addressed store, hash-verified

153 * @return {(!Promise<*>|undefined)}
154 */
155 receiveMessage(eventType, data, unusedAwaitResponse) {}
156
157 /**
158 * Provides a message delivery mechanism by which AMP document can send

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected