@rbxts/a-plant-generator - v0.2.0
    Preparing search index...

    Class LruGenerationCache<T>

    Bounded least-recently-used in-memory cache.

    Type Parameters

    • T

    Implements

    Index
    • Resolves and marks an entry as most recently used.

      Parameters

      • key: string

      Returns T | undefined

    • Inserts or replaces an entry, evicting the least-recently-used item when full.

      Parameters

      • key: string
      • value: T

      Returns void