Javascript – How can I make a given number of Promises run at the same time on Nodejs?
So I'm creating this scraping application that essentially uses a REST API for several entities on the server. The main functionallity is just: let buffer = [] for(entity in entities){ let data = await scrapingProcessForAnEntity(entity); buffer.push(data) } I oversimplified the…