Skip to content

1.x: Single's subscribe(Observable) and subscribe(Subscription) receive onCompleted #4363

@JakeWharton

Description

@JakeWharton

This should be documented on these methods since it's in direct violation with the contract specified in Single's documentation:

Single behaves the same as Observable except that it can only emit either a single successful value, or an error (there is no "onComplete" notification as there is for Observable)

(emphasis mine)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions