Progress reported to a worker script while runUdsSeq executes a sequence.

interface UdsSeqProgress {
    index: number;
    name: string;
    pct: number;
    phase: UdsSeqProgressPhase;
    serviceId?: string;
    total: number;
}

Properties

index: number

0-based index among enabled sequence items that will run. Disabled items are omitted and do not advance this index.

name: string

Service name configured on the sequence item.

pct: number

Overall percent complete in the range 0–100. start is the percent before this item runs; finish includes this item. The first item starts at 0 and the last item finishes at 100.

start immediately before the item runs, finish after it completes. A failing item that stops the sequence emits start only.

serviceId?: string

UDS service id, for example 0x10, when the service is known.

total: number

Number of enabled sequence items that will run.