Skip to content

Function: createLruCacheAdapter()

createLruCacheAdapter<TStateVariables>(options?): CacheAdapter<TStateVariables>

Defined in: adapters/cache/lru.ts:17

Creates a bounded LRU cache adapter for Choicekit state snapshots.

TStateVariables extends GenericSerializableObject

CreateLruCacheAdapterOptions = {}

CacheAdapter<TStateVariables>