INNER CODE UNIT · JavaScript
names
3cqs-coder/SymBot · libs/app/Hub/Main.js:175
const names = Array.isArray(message.payload) ? message.payload.filter(n => typeof n === 'string') : [];
const info = shareData.workerMap.get(workerId);
if (info) { info.tools = names; }
}
catch (e) { /* best-effort — must never throw back into the message loop */ }
}
}
catch (e) { try { shareData.Hub.logger('error', 'Hub worker-message dispatch failed (type ' + (message && message.type) + '): ' + (e && e.message)); } catch (_) {} }
};
}
// Push the pooled learning pack to a single worker (used when an instance comes online).
function pushLearningPackToWorker(worker) {
try {