* Processes the provided multi stat. * @param {Callback<MultiStats>} callback signals when the call finishes * @returns {void}
(callback)
| 674 | * @returns {void} |
| 675 | */ |
| 676 | run(callback) { |
| 677 | if (this.running) { |
| 678 | callback(new ConcurrentCompilationError()); |
| 679 | return; |
| 680 | } |
| 681 | this.running = true; |
| 682 | |
| 683 | if (this.validateDependencies(callback)) { |
| 684 | this._runGraph( |
| 685 | () => {}, |
| 686 | (compiler, setupResult, callback) => compiler.run(callback), |
| 687 | (err, stats) => { |
| 688 | this.running = false; |
| 689 | |
| 690 | if (callback !== undefined) { |
| 691 | return callback(err, stats); |
| 692 | } |
| 693 | } |
| 694 | ); |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | purgeInputFileSystem() { |
| 699 | for (const compiler of this.compilers) { |
nothing calls this directly
no test coverage detected