vapor-chamber API reference - v1.3.0
    Preparing search index...

    Type Alias BatchResult

    Result of a batch dispatch

    type BatchResult = {
        ok: boolean;
        results: CommandResult[];
        error?: Error;
        successCount: number;
        failCount: number;
        rollbacks?: CommandResult[];
    }
    Index

    Properties

    ok: boolean
    results: CommandResult[]
    error?: Error
    successCount: number

    Number of commands that completed successfully

    failCount: number

    Number of commands that failed

    rollbacks?: CommandResult[]

    Results of undo handlers run during transactional rollback (reverse order). Only present when transactional: true and a command failed.