Creates a CacheManager
The CacheManager Class. Manages Cached items in memory and in storage
2.0.0
Creates a CacheManager instance
CacheManager
Added start of every key that is stored in the localStorage, defaults to "DuckEngine_CacheManager_${key}"
Returns the memory-cache entries as an object, calls CacheManager.sync
Deletes a Key-Value pair from the memory-cache and storage
Name/Key to use to delete the pair
Loops through each entry in the memory-cache
Callback function
Gets a value from a Name/Key from the storage or memory-cache
Name/Key to get the value from
Gets a Key-Value pair from the storage or memory-cache and returns based on if it exists or not
Name/Key to save the value to
Returns the keys from the memory-cache
Sets a Key-Value pair in the memory-cache and storage
Value to save to the Name/Key
Returns the values from the memory-cache
Generated using TypeDoc
Creates a CacheManager
The CacheManager Class. Manages Cached items in memory and in storage
2.0.0