ES6 Promises/calling a function after multiple promises are fulfilled (can't use Promises.all) [duplicate]
This question already has an answer here: Wait until all promises complete even if some rejected 17 answers I'm writing Javascript which needs these events to happen in this order: Fire off several API calls simultaneously Once all calls have completed and responses have returned, execute a line of code Sounds simple but the tricky part is that I can't use Promises.all() because I still want that line of code to execute after all promises have been fulfilled, successful or not. Unless I misunderstand Promises.all(), one failing would cause the line of code to not execute in then() and execute