MCPcopy Create free account
hub / github.com/AudiusProject/apps / asCache

Function asCache

packages/common/src/store/cache/reducer.ts:263–299  ·  view source on GitHub ↗
(
    reducer: {
      (
        state: CacheState | undefined,
        action: any,
        kind: Kind
      ): {
        // id => entry
        entries: {}
        // id => status
        statuses: {}
        // uid => id
        uids: {}
      }
      (arg0: any, arg1: any): any
    },
    kind: Kind
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

reducersFunction · 0.90
store.test.jsFile · 0.85
store.test.tsFile · 0.85

Calls 1

reducerFunction · 0.50

Tested by

no test coverage detected