executeEx
[ Function ]
executeEx(
requiredArgs: any[] = []
callback: (
data: Function.IExecuteResultObject
) => void
): DestroyFunction;
Calls the function from the description with which the constructor was called and returns the corresponding return value via a callback function.
From version 1.12.744.2, the function returns a function that can be called to release resources that were reserved during execution. This can be used to prematurely terminate a running but not yet completed asynchronous execution. A call after execution is not mandatory.
Parameter
Name | Type | Description |
---|---|---|
requiredArgs | any[] | Transfer of parameters that are not listed in the function definition and must be injected by the caller. Functions can define parameters that are not displayed in input masks and are set by the caller (e.g. Control). |
callback | (data: Function.IExecuteResultObject) => void | Callback function |
Return value (version 1.10)
Type | Description |
---|---|
Void | No return value |
Return value (version 1.12.744.2)
Type | Description |
---|---|
DestroyFunction | A function that can be called to release resources that were reserved during execution This can be used to prematurely terminate a running but not yet completed asynchronous execution. A call after execution is not mandatory. |
Available from version 1.10 |