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

Function trackBatchTask

static/js/accounts.js:48–52  ·  view source on GitHub ↗
(key, taskRef = null)

Source from the content-addressed store, hash-verified

46}
47
48function trackBatchTask(key, taskRef = null) {
49 if (!Object.prototype.hasOwnProperty.call(activeBatchTasks, key)) return;
50 activeBatchTasks[key] = taskRef ? normalizeTaskState(taskRef) : null;
51 updateBatchButtons();
52}
53
54function patchBatchTask(key, patch = {}) {
55 if (!Object.prototype.hasOwnProperty.call(activeBatchTasks, key)) return;

Callers 4

runBatchRefreshTaskFunction · 0.85
runBatchValidateTaskFunction · 0.85
runOverviewRefreshTaskFunction · 0.85

Calls 2

normalizeTaskStateFunction · 0.85
updateBatchButtonsFunction · 0.70

Tested by

no test coverage detected