@logixjs/core
    Preparing search index...

    Interface DevtoolsSnapshot

    interface DevtoolsSnapshot {
        events: readonly RuntimeDebugEventRef[];
        exportBudget: { dropped: number; oversized: number };
        instances: ReadonlyMap<string, number>;
        latestStates: ReadonlyMap<string, JsonValue>;
        latestTraitSummaries: ReadonlyMap<string, JsonValue>;
        snapshotToken: number;
    }

    Hierarchy

    • DevtoolsSnapshot
      • DevtoolsSnapshot
    Index

    Properties

    events: readonly RuntimeDebugEventRef[]
    exportBudget: { dropped: number; oversized: number }

    exportBudget:

    • Tracks "degrade counts" caused by export boundaries (JsonValue projection/trimming), for explainability.
    • Counts are cumulative (may differ from the ring buffer window); clearDevtoolsEvents resets them.
    instances: ReadonlyMap<string, number>
    latestStates: ReadonlyMap<string, JsonValue>
    latestTraitSummaries: ReadonlyMap<string, JsonValue>
    snapshotToken: number

    SnapshotToken:

    • Monotonic snapshot change token (a subscription-safe source of truth).
    • Any externally visible change must advance the token.
    • If the token does not change, externally visible snapshot fields must not change (avoid tearing / missed updates).