Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comuline/api
/ get
Method
get
src/modules/v1/cache.ts:18–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
}
17
18
async
get(): Promise<T | null> {
19
const
data =
await
this.kv.get<T>(this.key)
20
return
data ?? null
21
}
22
23
async
set(value: T, ttl?: number): Promise<void> {
24
await
this.kv.set(
Callers
4
index.ts
File · 0.80
station.controller.ts
File · 0.80
route.controller.ts
File · 0.80
schedule.controller.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected