Skip to content

Observable<List<X>> to Observable<X> that emits each element in List<X> #2473

@jondwillis

Description

@jondwillis

Is there a utility operator for converting from Observable<List<X>> to an Observable<X> that emits each element in List<X>?

Otherwise, are there any obvious optimizations for something like:

getChannels().switchMap(channels -> Observable.from(channels))

flatMap() could be used as well, depending.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions