Cache
Cache:
object
Defined in: Core/Cache.ts:34
Type Declaration
Section titled “Type Declaration”make: <
K,E,V,SerializedKey>(config) =>Cache<K,E,V> =makeCache
Creates a cache around a keyed load.
Type Parameters
Section titled “Type Parameters”K
E
V
SerializedKey
Section titled “SerializedKey”SerializedKey = K
Parameters
Section titled “Parameters”config
Section titled “config”Config<K, E, V, SerializedKey>
Returns
Section titled “Returns”Cache<K, E, V>
Cache for the freshness, single-flight, and eviction policies.