Skip to content

2.x: replay() seems to be still replaying old data for late subscribers #5139

Closed
@adevhere

Description

@adevhere
  • Using RxJava 2.0.6

It seems this issue is still present in RxJava 2. When late subscribers subscribe() to a source with replay(time, unit) that has already expired, the source still emits the "expired emission" if onNext() is not called.

Posted this originally on StackOverflow but I'm now referencing it here because it seems to be an issue with the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions