@triply/triplydb
    Preparing search index...

    Type Alias ToCacheFn

    ToCacheFn: (key: CacheKey, result: CachedResult) => Promise<void>

    Stores one response — the write half of a Cache.

    Type Declaration

    Called after a request the cache did not answer. Key entries by both the request and Cache.cacheId, so two queries sharing a cache do not read each other's entries.