Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel

getScriptExecTimeoutgetScriptExecTimeOut()

Description

Function to read the duration of the script execution timeout time-out either for the controller or the processor thread, depending on where getScriptExecTimeout getScriptExecTimeOut is called. The duration for the script execution timeout time-out is returned in milliseconds. The default is 5000 ms for the controller thread and 1000 ms for the processor thread.

Available in: Controller, Processor.

Return Values

Returns the duration of the script execution timeout time-out in milliseconds either for the controller or the processor thread.

Example

Code Block
 -- print the script execution timeouttime-out of the controller and the processor thread
  
print("Script execution timeouttime-out of "..getContext()..": "..getScriptExecTimeoutgetScriptExecTimeOut().." ms.")
 
function onInit()
    print("Script execution timeouttime-out of "..getContext()..": "..getScriptExecTimeoutgetScriptExecTimeOut().." ms.")
end
Panel

See Also: setScriptExecTimeOut