Skip to content

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

Open

Description

@smaldini

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).

Activity

  1. phoad commented on Feb 15, 2018

    @phoad
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions