Interface IBasicMonitoredItem
interface IBasicMonitoredItem { on(eventName: "changed",
eventHandler: ((dataValue: DataValue) => void)): this; once(eventName: "changed",
eventHandler: ((dataValue: DataValue) => void)): this; } Methods
on
- on(eventName, eventHandler): this
Parameters
- eventName: "changed"
- eventHandler: ((dataValue: DataValue) => void)
- (dataValue): void
Returns void
Returns this
once
- once(eventName, eventHandler): this
Parameters
- eventName: "changed"
- eventHandler: ((dataValue: DataValue) => void)
- (dataValue): void
Returns void
Returns this