In my angular 7 application, I need to chain multiple HTTP Get call and for any call I need to wait for the call before to be completed also if I don't need to use directly the response in the next call.
I don't want to use subscribe inside a subscribe and so on because the code is very bad.
So for example, if I have 4 functions what is the best practice to achieve it?
switchMapif you want to use the result form the first request in the second request and so on. UsecombineLatestorforkJoinif you simply want to await all requests to finish.