Interface BatchResult

Result of a batch operation execution.

interface BatchResult {
    successful: number;
    failed: number;
    results?: StorageRunResult[];
    errors?: {
        index: number;
        error: Error;
    }[];
}

Properties

successful: number

Number of successfully executed operations

failed: number

Number of failed operations

results?: StorageRunResult[]

Individual results for each operation (if adapter supports it)

errors?: {
    index: number;
    error: Error;
}[]

Errors for failed operations (if any)