()
| 2519 | |
| 2520 | // 发送批量任务取消请求 |
| 2521 | function cancelBatchViaWebSocket() { |
| 2522 | if (batchWebSocket && batchWebSocket.readyState === WebSocket.OPEN) { |
| 2523 | batchWebSocket.send(JSON.stringify({ type: 'cancel' })); |
| 2524 | } |
| 2525 | } |
| 2526 | |
| 2527 | // 开始轮询 Outlook 批量状态(降级方案) |
| 2528 | function startOutlookBatchPolling(batchId) { |
nothing calls this directly
no outgoing calls
no test coverage detected