TCA.evalC
Runs a specific function in C language, defined in the C-functions.c file.
TCA.evalC(funcName, funcTimeout);
Arguments
Name | Description |
---|---|
funcName | (string) Name of the function. Use the #include command to include the file where the function is defined. |
funcTimeout | (number) The maximum expected runtime, in seconds, of the function called by the step. The default timeout is 60 seconds. |
Return value
A promise that will be fulfilled with no arguments.
Example
TCA.evalC("myFunc", 20).then(function(){
TCA.done();
}).catch(function (error) {
TCA.doneWithError(error);
});