footprintjs - v11.2.0
    Preparing search index...

    Interface ScopeRuntimeTarget

    Engine-facing capabilities. Never use a strict user-field proxy as this port.

    interface ScopeRuntimeTarget {
        attachScopeRecorder?(recorder: ScopeRecorder): void;
        decisionEvidenceRule?(behind?: (value: unknown) => unknown): EvidenceRule;
        detachScopeRecorder?(recorderId: string): void;
        getRedactedKeys?(): Set<string>;
        getScopeRecorders?(): ScopeRecorder[];
        getValue?(key?: string): unknown;
        notifyPause?(data?: unknown): void;
        notifyStageEnd?(duration?: number): void;
        notifyStageStart?(): void;
        setValue?(
            key: string,
            value: unknown,
            shouldRedact?: boolean,
            description?: string,
        ): void;
        useCorrelation?(correlation: RunCorrelation | undefined): void;
        useRedactionPolicy?(policy: RedactionPolicy): void;
        useSharedRedactedKeys?(keys: Set<string>): void;
    }
    Index
    • What decide() / select() ask the run's rule. A port without it knows only getRedactedKeys: a marked key's actual and threshold are masked, and nothing else about its evidence is served. behind turns a threshold that is a scope handle into the state behind it: decide/ passes reactive/handles.ts · valueBehind, because reactive/ imports scope/ and an edge back would close a module cycle.

      Parameters

      • Optionalbehind: (value: unknown) => unknown

      Returns EvidenceRule

    • Parameters

      • recorderId: string

      Returns void

    • Parameters

      • Optionalkey: string

      Returns unknown

    • Parameters

      • Optionaldata: unknown

      Returns void

    • Parameters

      • Optionalduration: number

      Returns void

    • Parameters

      • key: string
      • value: unknown
      • OptionalshouldRedact: boolean
      • Optionaldescription: string

      Returns void

    • Parameters

      • keys: Set<string>

      Returns void