Any valid javascript type that is returned from the ComputedObservable._computedFunction function.
Function that should be used to evaluate this object's Observable.value.
Function that should be used to evaluate this object's Observable.value.
List of ComputedObservables that need to be updated when value changes.
List of WatcherFunctions that get run when the observable value changes.
Current value of the observable.
Safely invoke the watchers registered on this observable.
New value of the observer.
Old value of the observer.
Iterates over observers and recalculates their values.
Safely evaluate the return value of _computedFunction.
Observables updates are turned off to ensure computed observables have no side effects.
Add a new ComputedObservable to be observed.
ComputedObservable to be observed.
Stop observing a ComputedObservable.
ComputedObservable to stop observing.
Remove a WatcherFunction from the watchers list.
WatcherFunction to be removed.
Method used to update the value property.
New value of the observable.
Add a WatcherFunction to be called when value changes.
WatcherFunction to be called on value change.
Generated using TypeDoc
A ComputedObservable is an Observable that contains a ComputedFunction.
The intention of a computed function is to use it to evaluate Observable.value instead of setting it directly.
Similarly to Observables a ComputedObservable can also be watched and observed.