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

Method constructor

third_party/subscriptions-project/swg.js:9042–9049  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9040 /**
9041 */
9042 constructor() {
9043 /** @private @const {!Object<CallbackId, function(*)>} */
9044 this.callbacks_ = {};
9045 /** @private @const {!Object<CallbackId, *>} */
9046 this.resultBuffer_ = {};
9047 /** @private {?Promise} */
9048 this.paymentResponsePromise_ = null;
9049 }
9050
9051 /**
9052 * @param {function(!Promise<!../api/entitlements.Entitlements>)} callback

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected