Interface IObservableValue

Interface for an Observable object that represents an opaque JSON value.

interface IObservableValue {
    changed: ISignal<IObservableValue, ObservableValue.IChangedArgs>;
    isDisposed: boolean;
    type: "Value";
    dispose(): void;
    get(): undefined | PartialJSONValue;
    set(value): void;
}

Hierarchy (view full)

Implemented by

Properties

Methods

Properties

The changed signal.

isDisposed: boolean

Test whether the object has been disposed.

Notes

This property is always safe to access.

type: "Value"

The type of this object.

Methods

  • Dispose of the resources held by the object.

    Notes

    If the object's dispose method is called more than once, all calls made after the first will be a no-op.

    Undefined Behavior

    It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.

    Returns void