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