MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / destroy

Function destroy

src/interaction/createHoverState.ts:92–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 };
91
92 const destroy: HoverState['destroy'] = () => {
93 if (debounceTimer !== null) {
94 clearTimeout(debounceTimer);
95 debounceTimer = null;
96 }
97 listeners.clear();
98 hovered = null;
99 lastEmitted = null;
100 };
101
102 return { setHovered, clearHovered, getHovered, onChange, destroy };
103}

Callers

nothing calls this directly

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected