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

Function handleEmergencyStop

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

Source from the content-addressed store, hash-verified

689}
690
691function handleEmergencyStop(): void {
692 stopStreaming();
693 disposeChart();
694 clearMetricsDisplay();
695 state.totalPointsGenerated = 0;
696
697 // Reset display to show input-based calculation
698 updateTotalPointsDisplay();
699
700 showStatus('🚨 Emergency stop activated', 'error');
701 showWarningToast('Emergency stop: All operations terminated', 3000);
702}
703
704// ============================================================================
705// UI State Management

Callers

nothing calls this directly

Calls 6

clearMetricsDisplayFunction · 0.85
updateTotalPointsDisplayFunction · 0.85
showStatusFunction · 0.85
showWarningToastFunction · 0.85
stopStreamingFunction · 0.70
disposeChartFunction · 0.70

Tested by

no test coverage detected