MemoizeCache<A, T> Interface
Package: @esfx/fn
Describes the minimum implementation of a cache for memoize(factory, options).
Declaration
export interface MemoizeCache<A extends unknown[], T>
Methods
get(args)
Gets (or creates) a MemoizeCacheEntry<T> unique to the provided arguments.
Declaration
get(args: Readonly<A>): MemoizeCacheEntry<T>;