MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getTTL

Method getTTL

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

Source from the content-addressed store, hash-verified

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

Callers 1

updatePredictionsUsageFunction · 0.80

Calls 1

initializeMethod · 0.95

Tested by

no test coverage detected