Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
addObserver
Method · 0.80
getRef
Method · 0.80
pollUnsafe
Method · 0.80
hasExpired
Function · 0.70
checkCapacity
Function · 0.70
getImpl
Function · 0.70
get
Method · 0.65
set
Method · 0.65
await
Method · 0.65
currentTimeMillisUnsafe
Method · 0.65
pipe
Method · 0.65
f
Function · 0.50
Tested by
no test coverage detected