I would like my app to wait until the request results to come back. So in below block, what I\'m trying to do is if the requested query returns empty results, I\'d like to c