Skip to content

2.x defaultIfEmpty for Maybe #5417

@uzzu

Description

@uzzu

Hi. I'm glad that I started using 2.x and be able to use Maybe.
I started using it, and wanted to ask a question.

Now Maybe#defaultIfEmpty returns Maybe, but because this operator guarantees to emit data, I think should be Maybe#defaultIfEmpty returns Single.

I would like to know if there is a reason to return Maybe.

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