MCPcopy Create free account
hub / github.com/effect-app/libs / PersistedCache.ts

File PersistedCache.ts

repos/effect/packages/effect/src/unstable/persistence/PersistedCache.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Combines in-memory caching with durable storage for `Persistable` requests.
3 *
4 * A `PersistedCache` checks a process-local `Cache`, then a named `Persistence`

Callers

nothing calls this directly

Calls 8

constantFunction · 0.90
identityFunction · 0.90
makeWithMethod · 0.80
makeMethod · 0.65
getMethod · 0.65
setMethod · 0.65
invalidateMethod · 0.65
removeMethod · 0.45

Tested by

no test coverage detected