Skip to content

Suggest Maybe#toSingle in Maybe#defaultIfEmpty documentation #5480

@alexeyr

Description

@alexeyr

Looking at http://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Maybe.html#defaultIfEmpty%28T%29, I was surprised to find it didn't return Single. Searching in closed issues found the answer: #5417. Perhaps documentation could be improved by explicitly mentioning toSingle as an alternative?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions