A progress estimator plugin is a function that analyses the log output of a
running processing service to estimate its current progress. For example, the
plugin can look for percentages or number of bytes processed. The returned
value contributes to the execution progress of a process chain (see the
estimatedProgress property of the process chain
data model).
The function takes the executable that is currently being run and a list of
recently collected output lines. It returns an estimated progress between
0.0 (0%) and 1.0 (100%) or null if the progress could not be determined. The
function will be called for each output line collected and the newest line is
always at the end of the given list. If required, the function can be a
suspend function.
Type
progressEstimator
Additional properties
Type
supportedServiceIds (required)
array
An array of IDs of the services this estimator plugin supports