Cache17
Constructors
Models
Combinators
entriesconstRetrieves all key-value pairs from the cache as an iterable.getconstRetrieves the value for a key, invoking the lookup function on a cache miss or expired entry.getOptionconstReads an existing cache entry without invoking the lookup function.getSuccessconstRetrieves the value associated with the specified key from the cache, only if it contains a resolved successful value.hasconstChecks whether the cache contains an entry for the specified key.invalidateconstInvalidates the entry associated with the specified key in the cache.invalidateAllconstInvalidates all entries in the cache.invalidateWhenconstInvalidates the entry associated with the specified key in the cache when the predicate returns true for the cached value.keysconstRetrieves all active keys from the cache, automatically filtering out expired entries.refreshconstForces a refresh of the value associated with the specified key in the cache.setconstSets the value associated with the specified key in the cache.sizeconstRetrieves the approximate number of entries in the cache.valuesconstRetrieves all successfully cached values from the cache, excluding failed lookups and expired entries.