@stephen-shopopop/cache
    Preparing search index...

    Interface LRUCacheOptions

    Configuration options for the LRU (Least Recently Used) Cache.

    interface LRUCacheOptions {
        maxSize?: number;
    }
    Index

    Properties

    Properties

    maxSize?: number

    The maximum number of items the cache can hold. When exceeded, least recently used items are removed.