IWatchResultObject
[ Interface ]
Version 1.10
export interface IWatchResultObject<T extends object> extends TcHmi.IResultObject {
value?: T;
destroy?: TcHmi.DestroyFunction;
}
Version 1.12
export interface IWatchResultObject<T extends object | null> extends TcHmi.IResultObject {
value?: T;
destroy?: TcHmi.DestroyFunction;
}
Extends TcHmi.IResultObject
Properties
Name | Type | Description |
---|---|---|
error | Cause of the fault | |
details [ optional ] | Optional details about error. Content depends on the function used and the error. | |
value [ optional ] | T | The object passed in the constructor. |
Destroy [ optional ] | When this function is called, monitoring is disabled and all associated resources are released. |
Available from version 1.10 |