Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nearform/graphql-hooks
/ getCache
Method
getCache
packages/graphql-hooks/src/GraphQLClient.ts:191–197 ·
view source on GitHub ↗
(cacheKey)
Source
from the content-addressed store, hash-verified
189
}
190
191
getCache(cacheKey) {
192
const
cacheHit = this.cache ? this.cache.get(cacheKey) : null
193
194
if
(cacheHit) {
195
return
cacheHit
196
}
197
}
198
199
saveCache(cacheKey, value) {
200
if
(this.cache) {
Callers
1
useClientRequest
Function · 0.80
Calls
1
get
Method · 0.65
Tested by
no test coverage detected