What is the difference between Observable and a Subject in rxjs?
In stream programming there are two main interfaces: Observable and Observer. Observable is for the consumer, it can be transformed and subscribed: observable.map(x => …).filter(x => …).subscribe(x => …) Observer is the interface which is used to feed an observable source: observer.next(newItem) We can create new Observable with an Observer: var observable = Observable.create(observer => … Read more