You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a typo? Show it be var myObservable = new Rx.Subject
Yes. this is a typo. Subject.create does something completely different than new Subject(). It's made for combining an observer and an observable into a subject, not simply newing up a subject.
This is probably a point for debate for future versions of the library (the current behavior mirrors what's existed in prior versions), but at the very least, this is a bug in the docs.
The first example in rxjs/doc/tutorial/basics.md - Creating observables - produces no output.
Is this a typo? Show it be
var myObservable = new Rx.Subject
?The text was updated successfully, but these errors were encountered: