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

Method constructor

testing/fake-dom.js:721–729  ·  view source on GitHub ↗

* @param {function(!Array<!Object>)} callback

(callback)

Source from the content-addressed store, hash-verified

719 * @param {function(!Array<!Object>)} callback
720 */
721 constructor(callback) {
722 this.callback_ = callback;
723
724 /** @type {!Array{!Object}} */
725 this.mutations_ = [];
726
727 /** @type {Promise} */
728 this.scheduled_ = null;
729 }
730
731 observe() {
732 // I'm not implementing this. Wayyyy to complicated.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected