Skip to main content

module Monitor



import util::Monitor;


Monitor the progress of a task/job.

function jobStart


Log the start of a job.


jobStart registers a new current job on the job stack with an amount of steps todo and how much work it contributes (when it ends) to its parent job (if any).

void jobStart(str label, int work=1, int totalWork=100)

function jobStep

Log to the user that a certain event has happened under the currently registered Job.

void jobStep(str label, str message, int work = 1)

function jobEnd

int jobEnd(str label, bool success=true)

function jobTodo

void jobTodo(str label, int work=100)

function jobIsCancelled

void jobIsCancelled(str label)

function jobWarning

void jobWarning(str message, loc src)