Esposter
    Preparing search index...

    Function createProbeCache

    • Type Parameters

      • TValue

      Parameters

      • __namedParameters: {
            probe: () => TValue;
            readPersistedCache: (key: string) => TValue | undefined;
            shouldPersist: (value: TValue) => boolean;
            writePersistedCache: (
                cache: Pick<KeyedCache<TValue>, "key" | "value">,
            ) => void;
        }

      Returns () => TValue