View All Public Notes
const promises = myArray.map(async (myValue) => { return { id: "my_id", myValue: await service.getByValue(myValue) } }); return Promise.all(promises); #dev #tidbits #javascript #asynchronous #pub