forEach is not promise-aware so it was creating a problem with rendering all the streams. We could only view four streams when we had hard coded to view five of them. Switched it with the classic for loop and added the promises array instead of returning within the loop (since for loop stops when we return something).
forEach is not promise-aware so it was creating a problem with rendering all the streams. We could only view four streams when we had hard coded to view five of them. Switched it with the classic for loop and added the promises array instead of returning within the loop (since for loop stops when we return something).