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

Method constructor

src/core/data-structures/observable.js:12–15  ·  view source on GitHub ↗

* Creates an instance of Observable.

()

Source from the content-addressed store, hash-verified

10 * Creates an instance of Observable.
11 */
12 constructor() {
13 /** @type {?Array<function(TYPE=):void>} */
14 this.handlers_ = null;
15 }
16
17 /**
18 * Adds the observer to this instance.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected