Lumen ChartsLumen Charts
Api

IWatchedValue

Download Markdown

Integration guide · Reference index

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

Extends

IWatchedValueReadonly, IObservableValue

setValue

setValue(value: T, forceUpdate?: boolean): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
valueTYes
forceUpdatebooleanNo

subscribe

subscribe(
    callback: WatchedValueCallback<T>,
    options?: WatchedValueSubscribeOptions,
  ): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
callbackWatchedValueCallback<T>Yes
optionsWatchedValueSubscribeOptionsNo

unsubscribe

unsubscribe(callback?: WatchedValueCallback<T> | null): void;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
callbackWatchedValueCallback<T> &#124; nullNo

On this page