* Processes the provided error callback. * @param {ErrorCallback} callback signals when the compiler closes * @returns {void}
(callback)
| 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 | }; |