MCPcopy
hub / github.com/microsoft/data-formulator / getCachedChart

Function getCachedChart

src/app/chartCache.ts:27–29  ·  view source on GitHub ↗
(chartId: string)

Source from the content-addressed store, hash-verified

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

Callers 3

loadReportFunction · 0.90
ReportViewFunction · 0.90
ChartRenderServiceFunction · 0.90

Calls 1

getMethod · 0.80

Tested by

no test coverage detected