Function: createLruCacheAdapter()
Function: createLruCacheAdapter()
Section titled “Function: createLruCacheAdapter()”createLruCacheAdapter<
TStateVariables>(options?):CacheAdapter<TStateVariables>
Defined in: adapters/cache/lru.ts:17
Creates a bounded LRU cache adapter for Choicekit state snapshots.
Type Parameters
Section titled “Type Parameters”TStateVariables
Section titled “TStateVariables”TStateVariables extends GenericSerializableObject
Parameters
Section titled “Parameters”options?
Section titled “options?”CreateLruCacheAdapterOptions = {}
Returns
Section titled “Returns”CacheAdapter<TStateVariables>