trying to fetch results within a for loop , but for loop doesn\'t wait for firestore results.tried forEach as well before .
Future checkIfNewMessages(