MCPcopy Create free account
hub / github.com/TQZHR/grok2api / stopBatchLoad

Function stopBatchLoad

app/static/cache/cache.js:955–967  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

953}
954
955function stopBatchLoad() {
956 if (!isBatchLoading) return;
957 isBatchLoading = false;
958 isLoadPaused = false;
959 currentBatchAction = null;
960 batchQueue = [];
961 setOnlineStatus('已终止', 'text-xs text-[var(--accents-4)] mt-1');
962 updateLoadButton();
963 setActionButtonsState();
964 updateBatchActionsVisibility();
965 updateBatchProgress();
966 showToast('已终止剩余加载请求', 'info');
967}
968
969function stopBatchDelete() {
970 if (!isBatchDeleting) return;

Callers 1

stopActiveBatchFunction · 0.85

Calls 6

setOnlineStatusFunction · 0.85
updateLoadButtonFunction · 0.85
showToastFunction · 0.85
setActionButtonsStateFunction · 0.70
updateBatchProgressFunction · 0.70

Tested by

no test coverage detected