Class DataMonitoring

The DataMonitoring class tracks and collects device parameter values.

Unlike startMonitoring, which returns an observable that never completes on its own, this class provides a stop() method to complete the monitoring observable, enabling the use of operators like toArray() as intended.

Hierarchy

  • DataMonitoring

Constructors

Properties

collect: boolean = true

Besides emitting monitored data through the observable created by the #start() method, an instance of this class will also collect data as it arrives.

data: ParameterValueType[][] = []

The collected data.

Use the clear() method before starting a new monitoring if you want to collect a fresh set of data.

finalize$: Subject<void> = ...

Emit a value to stop the ongoing monitoring.

monitoringInterval: number

Accessors

Methods

Generated using TypeDoc