MCPcopy Create free account
hub / github.com/evolution-foundation/evolution-api / get

Method get

src/cache/localcache.ts:19–21  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

17 }
18
19 async get(key: string): Promise<any> {
20 return LocalCache.localCache.get(this.buildKey(key));
21 }
22
23 async set(key: string, value: any, ttl?: number) {
24 return LocalCache.localCache.set(this.buildKey(key), value, ttl || this.conf.TTL);

Callers

nothing calls this directly

Calls 2

buildKeyMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected