Progress payload fired by inspectDataModelAsync. Two events per inspection (phase: "before", phase: "after"), plus one final completion event with current === total and empty label.

interface InspectProgress {
    current: number;
    inspection?: inspect.dataModel.Inspection;
    label: string;
    phase: "before" | "after";
    total: number;
}

Properties

current: number

0..total-1 during the walk, total on completion.

Absent on the final completion event.

label: string

Current inspection's description; empty on completion.

phase: "before" | "after"
total: number