@openpit/engine
    Preparing search index...

    Class AccountAdjustmentBatchResult

    Outcome of engine.applyAccountAdjustment.

    On success ok is true, failedIndex is undefined, and outcomes and accountBlocks hold the produced outcomes and blocks. On rejection ok is false, failedIndex points at the failing adjustment, and rejects is non-empty.

    Index
    accountBlocks: AccountBlock[]

    The account blocks reported after the accepted batch commits.

    failedIndex: number | undefined

    The index of the failing adjustment, or undefined on success.

    ok: boolean

    Whether the batch was applied in full.

    The produced outcomes, empty on rejection.

    rejects: Reject[]

    The rejects, empty on success.

    • Returns void

    • Returns void