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