Multiple service calls from an Effect

profile
Tim Deschryver
timdeschryver.dev

Multiple service calls from an Effect link

Use case link

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

Solution link

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

Feel free to update this blog post on GitHub, thanks in advance!

Join My Newsletter (WIP)

Join my weekly newsletter to receive my latest blog posts and bits, directly in your inbox.

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

Share this post on

Twitter LinkedIn