I am a beginner in angular 2 . In HTTP methods we are using Subject(BehaviourSubject) in our project and I know that Subject is a special kind of Observables and there are some unique features in that.
According to my knowledge,
- Promises and Observables are used to get data from the API
- We have to subscribe both promises or observables to get latest values
I cant get these things,
- what is mean by cancellable and non-cancellable here?
- Promises return single values while Observables return multiple values?
Anyone please explain me these things to understand better. Thanks in advance