kernl API
    Preparing search index...

    Interface ConnectedEventCache

    The shell's side of its event cache: what loaders ask, and how it is let go.

    interface ConnectedEventCache {
        cacheRequest: (filters: Filter[]) => Promise<NostrEvent[]>;
        close(): Promise<void>;
    }
    Index
    cacheRequest: (filters: Filter[]) => Promise<NostrEvent[]>

    Loader cacheRequest: cached matches marked as from the cache; none while the cache opens or when there is none.

    • Stop writing, then close the cache.

      Returns Promise<void>