MCPcopy Create free account
hub / github.com/ChartGPU/ChartGPU / emitZoomRange

Function emitZoomRange

src/core/createRenderCoordinator.ts:2528–2531  ·  view source on GitHub ↗
(range: Readonly<{ start: number; end: number }>)

Source from the content-addressed store, hash-verified

2526 const zoomRangeListeners = new Set<(range: Readonly<{ start: number; end: number }>) => void>();
2527
2528 const emitZoomRange = (range: Readonly<{ start: number; end: number }>): void => {
2529 const snapshot = Array.from(zoomRangeListeners);
2530 for (const cb of snapshot) cb(range);
2531 };
2532
2533 const getZoomOptionsConfig = (
2534 opts: ResolvedChartGPUOptions

Callers 1

updateZoomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected