(chartId: string)
| 25 | |
| 26 | /** Get a cached entry for a chart. Returns undefined if not cached. */ |
| 27 | export function getCachedChart(chartId: string): ChartCacheEntry | undefined { |
| 28 | return cache.get(chartId); |
| 29 | } |
| 30 | |
| 31 | /** Store a rendered chart in the cache. */ |
| 32 | export function setCachedChart(chartId: string, entry: ChartCacheEntry): void { |
no test coverage detected