Skip to content

rx.Single - why no doOnNext()? #3385

Closed
Closed
@ZakTaccardi

Description

@ZakTaccardi

I have a Single<?> that I would like to call .doOnNext() on. Why is this omitted? I get why .doOnCompleted() does not exist, but I want to call a void action once and there seems to be no simple way to do this with rx.Single

Technically I could call .map(), do my thing, and return the same object - but that seems like too much overhead. Or call .toObservable().doOnNext().toSingle(), but I cannot imagine that is too efficient.

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