The adapters a browser shell tries, in order: sqlite over OPFS in a worker, then IndexedDB, then memory.
[sqlite-opfs, indexeddb, memory] with their default options.
[sqlite-opfs, indexeddb, memory]
import { defaultWebCacheAdapters, openEventCache } from '@kernlize/core/cache';const cache = await openEventCache(defaultWebCacheAdapters()); Copy
import { defaultWebCacheAdapters, openEventCache } from '@kernlize/core/cache';const cache = await openEventCache(defaultWebCacheAdapters());
The adapters a browser shell tries, in order: sqlite over OPFS in a worker, then IndexedDB, then memory.