(maxCacheSize = 1000)
| 4 | private maxCacheSize: number |
| 5 | |
| 6 | constructor(maxCacheSize = 1000) { |
| 7 | this.maxCacheSize = maxCacheSize |
| 8 | this.cache = new Map<K, V>() |
| 9 | this.keysInUse = [] |
| 10 | } |
| 11 | |
| 12 | get(key: K) { |
| 13 | if (!this.cache.has(key)) { |
nothing calls this directly
no outgoing calls
no test coverage detected