Represents an observer that can be subscribed to an observable.

If an observer is subscribed to an observable and that observable didn't signal a change through one of the observer methods, the observer can assume that the observable didn't change.

If an observable reported a possible change, Observable.update forces the observable to report the actual change if any.

interface Observer {
    beginUpdate<T>(observable): void;
    endUpdate<T>(observable): void;
    handleChange<T, TChange>(observable, change?): void;
    handlePossibleChange<T>(observable): void;
}

Methods