* Destroy the cache and clean up resources
()
| 47 | * Destroy the cache and clean up resources |
| 48 | */ |
| 49 | destroy(): void { |
| 50 | if (this.cleanupInterval) { |
| 51 | clearInterval(this.cleanupInterval); |
| 52 | } |
| 53 | this.clear(); |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Gets a value from cache |
no test coverage detected