Skip to content

@graphty/graphty-element / session / BatchResult

Interface: BatchResult ​

Defined in: graphty-element/src/session/runs/types.ts:451

What a batch produced.

A cancelled batch KEEPS the members that already completed: they are results somebody paid for, and throwing them away because a later member was stopped would be the element deciding on the consumer's behalf that partial work is worthless.

Properties ​

completed ​

readonly completed: number

Defined in: graphty-element/src/session/runs/types.ts:457

How many finished.


label ​

readonly label: string

Defined in: graphty-element/src/session/runs/types.ts:453

What the batch is called.


partial ​

readonly partial: boolean

Defined in: graphty-element/src/session/runs/types.ts:459

Whether it stopped before every member finished.


steps ​

readonly steps: readonly BatchStep[]

Defined in: graphty-element/src/session/runs/types.ts:461

How each member turned out, in specification order.


total ​

readonly total: number

Defined in: graphty-element/src/session/runs/types.ts:455

How many members it had.