* Unsubscribes a listener from this property. * @param {function} callback The callback to unsubscribe.
(callback)
| 54 | * @param {function} callback The callback to unsubscribe. |
| 55 | */ |
| 56 | unsubscribe(callback) { |
| 57 | this.listeners = this.listeners.filter(listener => listener !== callback); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Whether or not this property has any subscribed listeners |