Best practice for getting data from async methods

Hello everyone,

I would like to ask you the best practice for getting data asynchronously and using them in other methods. For example, i would like to retrieve 3 values from local storage and use them in an http get request upon retrieving all the values. I have tried using promise.all but i would like your opinion as well. Another example is getting the user’s current location before calling a method that calculates the user’s distance to some POIs on the map. Any code examples are very appreciated :slight_smile: