MCPcopy Create free account
hub / github.com/Effect-TS/effect / Cache.ts

File Cache.ts

packages/effect/src/Cache.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Caches values loaded by an Effect lookup function.
3 *
4 * A cache stores successful and failed lookup results, shares an in-progress

Callers

nothing calls this directly

Calls 15

addObserverMethod · 0.80
getRefMethod · 0.80
pollUnsafeMethod · 0.80
hasExpiredFunction · 0.70
checkCapacityFunction · 0.70
getImplFunction · 0.70
getMethod · 0.65
setMethod · 0.65
awaitMethod · 0.65
pipeMethod · 0.65
fFunction · 0.50

Tested by

no test coverage detected