(key: K)
| 59 | private timeouts: Map<K, ReturnType<typeof setTimeout>> = new Map(); |
| 60 | |
| 61 | markFinished(key: K) { |
| 62 | const handle = setTimeout(() => { |
| 63 | this.delete(key); |
| 64 | }, cacheTimeout); |
| 65 | this.timeouts.set(key, handle); |
| 66 | } |
| 67 | |
| 68 | delete(key: K) { |
| 69 | const out = super.delete(key); |