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

Function startCurrentBatchPolling

static/js/app.js:1288–1301  ·  view source on GitHub ↗
(batchId)

Source from the content-addressed store, hash-verified

1286}
1287
1288function startCurrentBatchPolling(batchId) {
1289 if (!batchId) return;
1290
1291 const pollingMode = currentBatch && currentBatch.batch_id === batchId
1292 ? currentBatch.pollingMode
1293 : (isOutlookBatchMode ? 'outlook_batch' : 'batch');
1294
1295 if (pollingMode === 'outlook_batch') {
1296 startOutlookBatchPolling(batchId);
1297 return;
1298 }
1299
1300 startBatchPolling(batchId);
1301}
1302
1303// 连接 WebSocket
1304function connectWebSocket(taskUuid) {

Callers 1

connectBatchWebSocketFunction · 0.85

Calls 2

startOutlookBatchPollingFunction · 0.85
startBatchPollingFunction · 0.85

Tested by

no test coverage detected