Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Design Pattern to loop over a list of data and make async calls

Is there a pattern where you can loop over a list of data (dynamically derived in JS Policy) and then loop over this list and Service callout - with the data from the loop being part of the URL path. Essentially

Step 1: const filteredAndMappedData = dynamicArrayOfString.filter(...).map(...);
Step2: const listOfResponses = filteredAndMappedData.forEach(data => return ServiceCallout for the `data`);
0 2 322
2 REPLIES 2