Tim DeschryverTim

Multiple service calls from an Effect

The NgRx logoThe Angular logo

Multiple service calls from an Effect

Use case

An action to fetch multiple entities at once, but the service has only an endpoint to fetch one entity at a time.


Use the RxJS merge operator to flatten all request streams and concurrently emit all values to a single output stream.

Support me

I appreciate it if you would support me if have you enjoyed this post and found it useful, thank you in advance.

Buy Me a Coffee at ko-fi.com PayPal logo
Support the blog Share on Twitter Discuss on Twitter Edit on GitHub