MCPcopy Index your code
hub / github.com/ampproject/amphtml / sendMessageAwaitResponse

Method sendMessageAwaitResponse

src/service/viewer-impl.js:773–775  ·  view source on GitHub ↗

@override

(eventType, data, cancelUnsent = false)

Source from the content-addressed store, hash-verified

771
772 /** @override */
773 sendMessageAwaitResponse(eventType, data, cancelUnsent = false) {
774 return this.sendMessageInternal_(eventType, data, cancelUnsent, true);
775 }
776
777 /**
778 * Sends the message to the viewer.

Callers 15

test-viewer.jsFile · 0.45
test-runtime.jsFile · 0.45
ssrMethod · 0.45
handleReplaceUrlFunction · 0.45
viewerBaseCidFunction · 0.45
getScopedCidMethod · 0.45
loadBlobMethod · 0.45
saveBlobMethod · 0.45
pushMethod · 0.45
popMethod · 0.45
replaceMethod · 0.45

Calls 1

sendMessageInternal_Method · 0.95

Tested by

no test coverage detected