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

Function applyValidatedStatuses

static/js/accounts.js:181–190  ·  view source on GitHub ↗
(taskOrResult)

Source from the content-addressed store, hash-verified

179}
180
181function applyValidatedStatuses(taskOrResult) {
182 const statusMap = collectValidatedStatusMap(taskOrResult);
183 let updatedCount = 0;
184 statusMap.forEach((status, accountId) => {
185 if (replaceAccountRowStatus(accountId, status)) {
186 updatedCount += 1;
187 }
188 });
189 return updatedCount;
190}
191
192async function refreshAccountsView(options = {}) {
193 const refreshStats = options.refreshStats !== false;

Callers 1

runBatchValidateTaskFunction · 0.85

Calls 2

replaceAccountRowStatusFunction · 0.85

Tested by

no test coverage detected