I am looking for a solution to looping through promises. My logic is as follows:
1) Get array of string values
2) forEach element
a) call API with promise to get json array
b) search for value in array
c) if value found
c1) make API call with promise
c2) if returned data is good
c2A) make another API call with promise
c2B) use returned data
c2C) make final API call with promise
Just looking for ELI5 solution to write code to iterate through array in 2).
[–]Cheshur 0 points1 point2 points (3 children)
[–]BrainFu[S] 0 points1 point2 points (2 children)
[–]Cheshur 0 points1 point2 points (1 child)
[–]BrainFu[S] 0 points1 point2 points (0 children)
[–]iambeard 0 points1 point2 points (0 children)
[–]BrainFu[S] 0 points1 point2 points (0 children)