MCPcopy
hub / github.com/webpack/webpack / close

Method close

lib/MultiCompiler.js:711–721  ·  view source on GitHub ↗

* Processes the provided error callback. * @param {ErrorCallback} callback signals when the compiler closes * @returns {void}

(callback)

Source from the content-addressed store, hash-verified

709 * @returns {void}
710 */
711 close(callback) {
712 asyncLib.each(
713 this.compilers,
714 (compiler, callback) => {
715 compiler.close(callback);
716 },
717 (error) => {
718 callback(/** @type {Error | null} */ (error));
719 }
720 );
721 }
722};

Callers 1

nodeDoneMethod · 0.45

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected