| 2 | * Generic cache adapter to allow using a local cache during development and redis in production |
| 3 | */ |
| 4 | export interface CacheAdapter { |
| 5 | get<T>(key: string): Promise<T | undefined> |
| 6 | set<T>(key: string, value: T, ttl?: number): Promise<void> |
| 7 | delete(key: string): Promise<void> |
| 8 | } |
no outgoing calls
no test coverage detected