Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do we need to have both Observable and Flowable ? #858

Open
smaldini opened this issue Jan 29, 2018 · 1 comment
Open

Do we need to have both Observable and Flowable ? #858

smaldini opened this issue Jan 29, 2018 · 1 comment

Comments

@smaldini
Copy link
Member

I wonder if the approach as taken in reactor (rx-lite) would just be simpler: Take one backpressurable type with optimizations for unbounded, non backpressured flows. That would also mean one for N items and one for 0 or 1 item, as we haven't really found a need for an explicit Completable type neither, like Optional in Java or a Promise in JS.

Beyond removing the overlap of concepts, I think this lite-rx approach makes it better positioned for providing simple adaptive layers for coroutines or enumerables, leaving the choice between one "functional" style and one "imperative-like".

We have a strong interest in helping reviewing API as well if necessary, don't hesitate to retake the Flux/Mono naming which are slightly more aligned in some situations (prefixes are aligned e.g. collectXxx, toXxx, fromXxx).

@phoad
Copy link
Member

phoad commented Feb 15, 2018

Can you provide some links for me to take a look at to understand the approach that is taken in reactor (rx-lite)?
I am interested in discussing especially more about the second paragraph: providing simple adaptive layers for coroutines or enumerables, leaving the choice between one "functional" style and one "imperative-like".

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

No branches or pull requests

2 participants