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

Method handleResponse_

third_party/subscriptions-project/swg.js:18088–18095  ·  view source on GitHub ↗

* @param {!Promise<!PaymentData>} responsePromise * @private

(responsePromise)

Source from the content-addressed store, hash-verified

18086 * @private
18087 */
18088 handleResponse_(responsePromise) {
18089 this.response_ = responsePromise;
18090 if (this.responseCallback_) {
18091 this.responseCallback_(
18092 this.convertResponse_(this.response_, this.request_)
18093 );
18094 }
18095 }
18096
18097 /**
18098 * @param {!Promise<!PaymentData>} response

Callers

nothing calls this directly

Calls 1

convertResponse_Method · 0.95

Tested by

no test coverage detected