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

Errors

Cause of the fault

details [ optional ]

IErrorDetails

Optional details about error. Content depends on the function used and the error.

value [ optional ]

T

The object passed in the constructor.
Symbol expressions are replaced by values.

Destroy [ optional ]

TcHmi.DestroyFunction

When this function is called, monitoring is disabled and all associated resources are released.

IWatchResultObject 1:

Available from version 1.10