DEV Community

Play Button Pause Button
Fabio Biondi
Fabio Biondi

Posted on

Angular & RxJS Tips #5: Multiple Http calls - combineLatest vs forkJoin

In RxJS you can make multiple REST calls, wait that all of them are completed and get a single result.

You can use forkJoin and combineLatest RxJS operators to achieve this result.
So, what’s the difference?

🔗 Follow me on:

Top comments (2)

distil profile image
Charavner Louis

What's difference with Promise.all ?

rybson profile image

For example, such that you can easily cancel requests.