- Is EventEmitter an RxJS Observable?
- In the angular documentation, it explains how to communicate from child to parent component using EventEmitter. Should we use EventEmitter only in component or it can be used angular service also?
In the angular documentation, it explains how parent and children communicate via a shared service that uses observables RxJS Subject. Can we use EventEmitter instead of RxJS Subject in this MissionService example? Please help converting this example with EventEmitter if we can use EventEmitter at all in a service. I'm new to angular.
https://angular.io/guide/component-interaction#parent-and-children-communicate-via-a-service
I'm confused a bit after reading these related posts: