Pkg::CallbackScriptProgress — Register callback function
void
CallbackScriptProgress
( | string | func
) ; |
func
Name of the callback handler function. Required callback prototype is void(boolean ping, string output). If parameter 'ping' is true than there is no output available, but the script is still running (This functionality enables aborting the script). If it is false, 'output' contains (part of) the script output. The callback function is evaluated when a script is running.