So, I\'m defining a cloud function that\'s supposed to make a call to the foursquare api and generate a list of restaurants (each restaurant is a ParseObject) from the returned
I believe your issue is that you aren't returning the Promise from Parse.Object.saveAll(restaurants) when your httpRequest() is complete. Try returning that saveAll() promise and see if it completes.