(key: string)
| 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) { |
no test coverage detected