MCPcopy
hub / github.com/FlowiseAI/Flowise / getTTL

Method getTTL

packages/server/src/UsageCacheManager.ts:191–195  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

189 }
190
191 public async getTTL(key: string): Promise<number | null> {
192 if (!this.cache) await this.initialize()
193 const value = await this.cache.ttl(key)
194 return value
195 }
196
197 public async mget<T>(keys: string[]): Promise<(T | null)[]> {
198 if (this.cache) {

Callers 1

updatePredictionsUsageFunction · 0.80

Calls 1

initializeMethod · 0.95

Tested by

no test coverage detected