MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / disconnectBatchWebSocket

Function disconnectBatchWebSocket

static/js/app.js:2491–2500  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2489
2490// 断开批量任务 WebSocket
2491function disconnectBatchWebSocket() {
2492 batchWsManualClose = true;
2493 clearBatchWebSocketReconnect();
2494 stopBatchWebSocketHeartbeat();
2495 if (batchWebSocket) {
2496 const socket = batchWebSocket;
2497 batchWebSocket = null;
2498 socket.close();
2499 }
2500}
2501
2502// 开始批量任务心跳
2503function startBatchWebSocketHeartbeat() {

Callers 2

resetButtonsFunction · 0.85
connectBatchWebSocketFunction · 0.85

Calls 3

closeMethod · 0.45

Tested by

no test coverage detected