Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adcontextprotocol/adcp
/ set
Method
set
server/src/cache.ts:14–19 ·
view source on GitHub ↗
(key: string, value: T)
Source
from the content-addressed store, hash-verified
12
}
13
14
set(key: string, value: T): void {
15
this.cache.set(key, {
16
value,
17
expiresAt: Date.now() + this.ttlMs,
18
});
19
}
20
21
get(key: string): T | undefined {
22
const
entry = this.cache.get(key);
Callers
15
buildScenarioFlagIndex
Function · 0.45
lintDoc
Function · 0.45
render
Function · 0.45
renderCatalog
Function · 0.45
loadSchema
Function · 0.45
getValidator
Function · 0.45
main
Function · 0.45
check-seo-metadata.cjs
File · 0.45
main
Function · 0.45
lintDoc
Function · 0.45
lintFile
Function · 0.45
main
Function · 0.45
Calls
1
now
Method · 0.80
Tested by
11
loadAndCompileSchema
Function · 0.36
loadAndCompileSchema
Function · 0.36
runTests
Function · 0.36
runAll
Function · 0.36
callMcp
Function · 0.36
sendWebhook
Function · 0.36
fetchRawGzip
Function · 0.36
postList
Function · 0.36
callTool
Function · 0.36
deduplicateZoomRows
Function · 0.36
registryFrom
Function · 0.36