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

File ScopedCache.ts

packages/effect/src/ScopedCache.ts  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Caches values that need scoped resource management.
3 *
4 * Each cached entry owns its own `Scope`, so resources opened while creating a

Callers

nothing calls this directly

Calls 15

awaitEntryFunction · 0.85
closeEvictedFunction · 0.85
getRefMethod · 0.80
onExitMethod · 0.80
someMethod · 0.80
exitMethod · 0.80
hasExpiredFunction · 0.70
checkCapacityFunction · 0.70
removeEntryFunction · 0.70
getImplFunction · 0.70
getFunction · 0.70
omitMethod · 0.65

Tested by

no test coverage detected