--

Async pipe in the template already takes care of the unsubscription (cold vs hot observables if anyone wants to search a bit). The takeuntil approach when using async is not really needed.
Forkjoin just triggers all requests in parallel, and ends when the slowest one responds, but you still make the same amount of requests (just see the network tab on the browser's development console).

--

--

Jose I Santa Cruz G
Jose I Santa Cruz G

Written by Jose I Santa Cruz G

Polyglot senior software engineer, amateur guitar & bass player, geek, husband and dog father. Not precisely in that order.

No responses yet