Is it possible to get all the \"active\" subscriptions without storing them manually?
I\'d like to unsubscribe
all of the \"active\" subscriptions and don\'
The easiest way is to make use of ngx-auto-unsubscribe. With this decorator you shouldn't put the unsubscribe(), this is done automatically.
For use this you only need declare onDestroy, you don't need to put anything in this.
It is very easy to use, I encourage you to use it.
Npm installation
Official documentation