MCPcopy Create free account
hub / github.com/Hello-Application-XH/HelloGML / getWorkerCache

Function getWorkerCache

src/chat.ts:200–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198}
199
200function getWorkerCache(): Cache {
201 return (caches as any).default;
202}
203
204function getTokenCacheKey(refreshToken: string): Request {
205 return new Request(`https://internal-cache/glm-token/${refreshToken}`);

Callers 3

getCachedAccessTokenFunction · 0.85
setCachedAccessTokenFunction · 0.85
deleteCachedAccessTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected