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

FuncSubject #620

Open
fdecampredon opened this issue Mar 12, 2015 · 3 comments
Open

FuncSubject #620

fdecampredon opened this issue Mar 12, 2015 · 3 comments

Comments

@fdecampredon
Copy link

I find the rx-react FuncSubject pretty useful, it can be used on every place that expect a callback and ease the pain of consuming event/stream source from third party api.
It's a very simple and tiny piece of code, so perhaps it's worth to be added into rxjs directly ?

@mattpodwysocki
Copy link
Member

@fdecampredon it might be although it is weird in that it doesn't have an error channel other than calling .onError...

@fdecampredon
Copy link
Author

For the usage with React onError was not needed, but we could imagine dispatching onError if the argument passed is an error instance.

@urmastalimaa
Copy link
Contributor

Isn't Rx.Observable.fromCallback already filling this niche?

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

3 participants