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

Method constructor

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

* * @param {!Promise} configuredPromise

(configuredPromise)

Source from the content-addressed store, hash-verified

7233 * @param {!Promise} configuredPromise
7234 */
7235 constructor(configuredPromise) {
7236 /** @private {!Array<function(!../api/client-event-manager-api.ClientEvent, (!../api/client-event-manager-api.ClientEventParams|undefined)=)>} */
7237 this.listeners_ = [];
7238
7239 /** @private {!Array<function(!../api/client-event-manager-api.ClientEvent):!FilterResult>} */
7240 this.filterers_ = [];
7241
7242 /** @private {?Promise} */
7243 this.lastAction_ = null;
7244
7245 /** @private @const {!Promise} */
7246 this.isReadyPromise_ = configuredPromise;
7247 }
7248
7249 /**
7250 * @overrides

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected