Dealing with Promise.all() and a bunch of async functions
Recently I've been in the situation where I needed to resolve multiple async functions in paralel. The tricky part was that these functions were written using async/await approach and I was going to use Promise.all()
function to resolve all of the async requests at the same time, when all of them are resolved.