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

Method constructor

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

* @param {number|undefined} backOffSeconds * @param {number|undefined} maxImpressions * @param {number|undefined} maxImpressionsResultingHideSeconds

(
    backOffSeconds,
    maxImpressions,
    maxImpressionsResultingHideSeconds
  )

Source from the content-addressed store, hash-verified

9469 * @param {number|undefined} maxImpressionsResultingHideSeconds
9470 */
9471 constructor(
9472 backOffSeconds,
9473 maxImpressions,
9474 maxImpressionsResultingHideSeconds
9475 ) {
9476 /** @const {number|undefined} */
9477 this.backOffSeconds = backOffSeconds;
9478
9479 /** @const {number|undefined} */
9480 this.maxImpressions = maxImpressions;
9481
9482 /** @const {number|undefined} */
9483 this.maxImpressionsResultingHideSeconds =
9484 maxImpressionsResultingHideSeconds;
9485 }
9486}
9487
9488/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected