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

Function emitInteractionX

src/core/createRenderCoordinator.ts:2023–2026  ·  view source on GitHub ↗
(nextX: number | null, source?: unknown)

Source from the content-addressed store, hash-verified

2021 | null = null;
2022
2023 const emitInteractionX = (nextX: number | null, source?: unknown): void => {
2024 const snapshot = Array.from(interactionXListeners);
2025 for (const cb of snapshot) cb(nextX, source);
2026 };
2027
2028 const setInteractionXInternal = (nextX: number | null, source?: unknown): void => {
2029 const normalized = nextX !== null && Number.isFinite(nextX) ? nextX : null;

Callers 1

setInteractionXInternalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected