Currently, Make does not support parallel module execution, which limits the ability to perform multiple tasks simultaneously, a feature that could significantly optimize workflows. This improvement would enable the execution of modules in parallel efficiently, similar to how Promise.all and Promise.race work in JavaScript.
The ability to execute modules in parallel would be beneficial for tasks such as:
Optimization of processing times: Reducing the total execution time for workflows involving multiple independent modules.
Greater flexibility in integrating functions: Enabling asynchronous functions and generator functions to be executed simultaneously.
To achieve this, it would be ideal to incorporate functionality similar to Promise.all and Promise.race, where modules run in parallel, and the result of all modules is returned once they all complete, or the result from the first module that finishes is returned (as in Promise.race).
This could enable better integration and optimization of workflows in Make, making complex task execution more efficient.