Theia API Documentation v1.65.0
    Preparing search index...

    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: Observable<T>): void;
        endUpdate<T>(observable: Observable<T>): void;
        handleChange<T, TChange>(
            observable: Observable<T, TChange>,
            change?: TChange,
        ): void;
        handlePossibleChange<T>(observable: Observable<T>): void;
    }
    Index

    Methods