* Get keys with a specific prefix * @param prefix - Key prefix to match * @returns Array of matching keys
(prefix: string)
| 161 | * @returns Array of matching keys |
| 162 | */ |
| 163 | async keysWithPrefix(prefix: string): Promise<string[]> { |
| 164 | const allKeys = localCache.keys(); |
| 165 | return allKeys.filter((key) => key.startsWith(prefix)); |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | // Export singleton instance |
no test coverage detected