(key: string)
| 187 | } |
| 188 | |
| 189 | public async get<T>(key: string): Promise<T | null> { |
| 190 | if (!this.cache) await this.initialize() |
| 191 | const value = await this.cache.get<T>(key) |
| 192 | return value |
| 193 | } |
| 194 | |
| 195 | public async getTTL(key: string): Promise<number | null> { |
| 196 | if (!this.cache) await this.initialize() |
no test coverage detected