Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nearform/graphql-hooks
/ saveCache
Method
saveCache
packages/graphql-hooks/src/GraphQLClient.ts:199–203 ·
view source on GitHub ↗
(cacheKey, value)
Source
from the content-addressed store, hash-verified
197
}
198
199
saveCache(cacheKey, value) {
200
if
(this.cache) {
201
this.cache.set(cacheKey, value)
202
}
203
}
204
205
removeCache(cacheKey) {
206
this.cache?.delete(cacheKey)
Callers
2
setQueryData
Method · 0.95
useClientRequest
Function · 0.80
Calls
1
set
Method · 0.65
Tested by
no test coverage detected