MCPcopy
hub / github.com/webpack/webpack / increaseParallelism

Method increaseParallelism

lib/util/AsyncQueue.js:273–281  ·  view source on GitHub ↗

* Increase parallelism. * @returns {void}

()

Source from the content-addressed store, hash-verified

271 * @returns {void}
272 */
273 increaseParallelism() {
274 const root = this._root;
275 root._parallelism++;
276 /* istanbul ignore next */
277 if (root._willEnsureProcessing === false && root._needProcessing) {
278 root._willEnsureProcessing = true;
279 setImmediate(root._ensureProcessing);
280 }
281 }
282
283 /**
284 * Decrease parallelism.

Callers 6

_readContextTimestampMethod · 0.80
_readContextHashMethod · 0.80
onDependenciesSortedMethod · 0.80
applyMethod · 0.80
importModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected