Skip to content

how to prevent the second observable to execute? #4

@jiangecho

Description

@jiangecho

Thanks.

      Observable<Data> source = Observable.concat(
                sources.memory(),
                sources.disk(),
                sources.network()
            )
            .first(data -> data != null && data.isUpToDate());

I want to know when the first()'s condition is true, is there any way to present the following observable to execute?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions