kernl API
    Preparing search index...

    Function createMemoryCacheAdapter

    • An adapter whose cache lives in memory and is gone when the page closes. It always opens, which makes it the last resort of openEventCache.

      Returns EventCacheAdapter

      The memory adapter.

      import { createMemoryCacheAdapter } from '@kernlize/core/cache';

      const cache = await createMemoryCacheAdapter().open();
      cache.name; // 'memory'