• Beta

    Type Parameters

    • T

    Parameters

    • initialValue: T

      Initial value of the observable.

    • Optionalvalidator: ObservableValidator<T>

      Optional validator to use for the setter.

    Returns IObservable<T>

    Creates an observable object that stores a value state.