MCPcopy
hub / github.com/webpack/webpack / factorizeAdd

Method factorizeAdd

lib/ProgressPlugin.js:431–439  ·  view source on GitHub ↗
(factorizeQueue, _item)

Source from the content-addressed store, hash-verified

429 * @param {T} _item item
430 */
431 const factorizeAdd = (factorizeQueue, _item) => {
432 if (SKIPPED_QUEUE_CONTEXTS.includes(factorizeQueue.getContext())) {
433 skippedDependenciesCount++;
434 }
435 dependenciesCount++;
436 if (dependenciesCount < 50 || dependenciesCount % 100 === 0) {
437 updateThrottled();
438 }
439 };
440
441 const factorizeDone = () => {
442 doneDependencies++;

Callers

nothing calls this directly

Calls 1

getContextMethod · 0.45

Tested by

no test coverage detected