Skip to content

Eager ConcatMap #3017

@benjchristensen

Description

@benjchristensen

Is there already a name for something in the ecosystem that is like an eager concatMap, or ordered flatMap?

I often see the pattern of people wanting to eagerly kick off several Observables, but merge them together in order.

It is absolutely not a good idea for infinite lists, but similar to how concatMap and flatMap can both be dangerous if used wrong, an eagerConcatMap that eagerly subscribes and caches the inner Observables could be useful.

Of course this can be done without adding anything to RxJava, it's just tedious.

Bad idea? Does it already have a name that I'm unaware of?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions