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

Method set

src/api/services/cache.service.ts:41–46  ·  view source on GitHub ↗
(key: string, value: any, ttl?: number)

Source from the content-addressed store, hash-verified

39 }
40
41 async set(key: string, value: any, ttl?: number) {
42 if (!this.cache) {
43 return;
44 }
45 this.cache.set(key, value, ttl);
46 }
47
48 public async hSet(key: string, field: string, value: any) {
49 if (!this.cache) {

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected