IWatchResultObject
[ Interface ]
export interface IWatchResultObject<T = any> extends TcHmi.IResultObject {
value?: T;
destroy?: TcHmi.DestroyFunction;
response?: TcHmi.Server.IMessage<T>;
}
Result of a watch
call (for example watchRecipe).
This interface extends TcHmi.IResultObject.
Properties
Name | Type | Description |
---|---|---|
value [optional] | T | Result of monitoring for change. |
destroy | A function that can be called to terminate monitoring and release all associated resources. | |
response | Direct response of the server with the change. |
Available from version 1.12 |