Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/node-redis
/ stats
Method
stats
packages/client/lib/client/cache.ts:748–750 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
746
}
747
748
override stats(): CacheStats {
749
return
this.#statsCounter.snapshot();
750
}
751
752
override onError(): void {
753
this.clear();
Callers
2
cache.spec.ts
File · 0.80
index.spec.ts
File · 0.80
Calls
1
snapshot
Method · 0.65
Tested by
no test coverage detected