Pkg::CallbackProgressReportProgress — Register a callback function
void
CallbackProgressReportProgress
( |
string
args
) ; |
args
Name of the callback handler function. Required callback prototype is boolean(integer id, integer val_raw, integer val_percent). Parameter id identifies the callback, val_raw is raw status, val_percent is in percent or if the total progress is not known it's -1 (the callback is a 'tick' in this case). If the handler returns false the task is aborted.