• Type Parameters

    • V
    • Args extends any[]

    Parameters

    • getValue: (args: Args) => V

    Returns {
        cache: LRUCache<string, V>;
        getKey: (args: Args) => string;
        getValue: (args: Args) => V;
        (...args: Args): NonNullable<V>;
    }