I want refresher complete after 4 function complet

Hi
i want refresher complete after 4 function. these 4 function actually are http requests (get)
but i don’t know a good idea , using callback or async or other and how ?

thanks

Do it with promises.

In Theory:
Every function gives a promise, subscribe to those promises with a method then if all promises are fulfilled the method calls the refresh function.

I think this would be the best way to achieve this. :slight_smile: