Beignet API reference
    Preparing search index...

    Interface MemoInstrumentationEvent

    Instrumentation event emitted by memoized functions inside a scope that carries a recorder.

    interface MemoInstrumentationEvent {
        durationMs?: number;
        failed?: boolean;
        key: string;
        kind: "hit" | "miss";
        memo: string;
    }
    Index
    durationMs?: number

    Fill duration for misses, rounded to two decimals.

    failed?: boolean

    Set when a miss's underlying call rejected (the entry is evicted).

    key: string

    Encoded argument key for the call.

    kind: "hit" | "miss"

    Whether the call was served from the scope cache or filled it.

    memo: string

    Memo name from createMemo options, defaulting to the function name.