| 108 | * Underlying storage provider for cached responses |
| 109 | */ |
| 110 | export interface CacheStore { |
| 111 | get(key: CacheKey): GetResult | Promise<GetResult | undefined> | undefined |
| 112 | |
| 113 | createWriteStream(key: CacheKey, val: CacheValue): Writable | undefined |
| 114 | |
| 115 | delete(key: CacheKey): void | Promise<void> |
| 116 | } |
| 117 | |
| 118 | export interface MemoryCacheStoreOpts { |
| 119 | /** |
no outgoing calls
no test coverage detected
searching dependent graphs…