A fixed-size in-memory cache that automatically evicts the least recently used entry first when it reaches its size limit.
The type of cache keys.
The type of values store in this cache.
The maximum number of entries held by the cache.
Clears all values from the cache.
Clears a single value from the cache.
The key to clear.
Reads a cached value.
The key to read.
A Promise that resolves with the value read.
A Promise that resolves to true if the given key exists in the cache.
A Promise that resolves to an array of the keys in the cache.
Caches a value.
The key to use.
The value to cache.
A fixed-size in-memory cache that automatically evicts the least recently used entry first when it reaches its size limit.