TOC Toolkit API - v0.1.0
    Preparing search index...

    Interface Exhaustion

    The report of a budget that stopped a run. A cancellation names Resource.Time, because the watchdog that reads the clock also sees the cancellation.

    interface Exhaustion {
        reason: StopReason;
        resource: Resource;
        limit: number;
        spent: number;
        scope: readonly string[];
        candidatesTried?: number;
    }
    Index
    reason: StopReason
    resource: Resource

    The resource that ran out.

    limit: number

    The amount of the resource that the budget allowed.

    spent: number

    The amount that the run had used when the budget stopped it.

    scope: readonly string[]

    The labels of the child budgets from the root to the budget that stopped the run.

    candidatesTried?: number

    The number of Parikh candidates tested before the search stopped.