Function: getBoundedCacheValue()
getBoundedCacheValue<
Key,Value>(cache:Map<Key,Value>,key:Key):BoundedCacheLookupResult<Value>
Defined in: _internal/bounded-cache.ts:30
Read a cache entry and mark it as most-recently-used.
Type Parametersโ
Keyโ
Key
Valueโ
Value
Parametersโ
cacheโ
Map<Key, Value>
Mutable cache map.
keyโ
Key
Entry key.
Returnsโ
BoundedCacheLookupResult<Value>
Lookup result describing whether an entry was found. When found,
includes the cached value (which can itself be undefined/null).