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

    Type Alias ExhaustionRecord

    ExhaustionRecord: {
        reason: StopReason;
        scope: readonly string[];
        candidatesTried?: number;
    } & (
        | { resource: Time }
        | { resource: CountedResource; limit: number; spent: number }
    )

    An exhaustion as an event. limit and spent are absent for Resource.Time, because time is not part of an event.