Skip to content

'lift(final Operator<? extends R, ? super T>)' has private access in 'rx.Single' #3161

Closed
@passsy

Description

@passsy

I was expecting Single#lift() to be part of the public API like Observable#lift(). Is there a reason for this restriction?

Single#compose() is public, too (and links to #lift() in the docs). I guess the private access is just a bug.

https://github.com/ReactiveX/RxJava/blob/1.x/src/main/java/rx/Single.java#L176

My workaround:

Single.just("value")
        .toObservable()
        .lift(myOperator)
        .toSingle();

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