I am using Angular 5 and have subscribed an observable using the subscribe() method. I want to know if only calling the unsubscribe() method on the subscription will be sufficient to cleanup everything, or should I also call remove() method? code snippet: ` ` Answer .remove remove the subscription from an internal list, but it does not unsubscribe. .unsubscribe clean
Tag: observable
Rxjs One Observable Feeding into Another
I have a rather clunky looking set of code where the data from one observable is feed into another, like such: I know that there are ways to combine and chain but I need data from source to be feed into source2. The nesting of subscribes looks terrible and I’m pretty certain there is a better way to do this.