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

Function stopStreaming

examples/worker-rendering/main.ts:666–677  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

664}
665
666function stopStreaming(): void {
667 state.streaming = false;
668 if (state.streamingIntervalId !== null) {
669 clearInterval(state.streamingIntervalId);
670 state.streamingIntervalId = null;
671 }
672
673 // Update display with final count when streaming stops
674 if (state.totalPointsGenerated > 0) {
675 updateTotalPointsDisplay(state.totalPointsGenerated);
676 }
677}
678
679function handleClear(): void {
680 stopStreaming();

Callers 5

handleGenerateFunction · 0.70
streamFrameFunction · 0.70
handleClearFunction · 0.70
handleEmergencyStopFunction · 0.70
initFunction · 0.70

Calls 1

updateTotalPointsDisplayFunction · 0.85

Tested by

no test coverage detected