python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Angular/RxJs - Calling next() on Observable in service after component was unsubscribe() cause ObjectUnsubscribedError
I have an Angular Service that defines a public Subject. Later under some condition, the service will call .next() on this Subject.
In addition, I have an Angular component that .subscribe() to this S...
Gil Epshtain
Votes: 0
Answers: 2
How can I subscribe to a different service method using a conditional statement?
Can't figure out how to subscribe to the desired method of an Angular service depending on the conditional statement
// this.someService.someMethod depending on the conditional statement
.pipe(tak...
Constantine Rafikov
Votes: 0
Answers: 2