* Adds a subscriber to this property. * @param {function} callback The callback to call whenever the property changes.
(callback)
| 46 | * @param {function} callback The callback to call whenever the property changes. |
| 47 | */ |
| 48 | subscribe(callback) { |
| 49 | this.listeners.push(callback); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Unsubscribes a listener from this property. |
no outgoing calls
no test coverage detected