Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

BehaviorSubject missing asObserver() function #934

Closed
staltz opened this issue Sep 28, 2015 · 1 comment
Closed

BehaviorSubject missing asObserver() function #934

staltz opened this issue Sep 28, 2015 · 1 comment

Comments

@staltz
Copy link
Contributor

staltz commented Sep 28, 2015

Subject (being also an Observer) has the method asObserver(). So does ReplaySubject have the same method. But if you create var behavior = new Rx.BehaviorSubject(0);, you cannot call behavior.asObserver(), it is undefined.

Bug, I guess.

My RxJS version is 3.1.0

@staltz
Copy link
Contributor Author

staltz commented Oct 7, 2015

Thanks @mattpodwysocki

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants