Skip to content

1.x: Replaying a Single to future subscribers. cache() missing? #4702

@JakeWharton

Description

@JakeWharton

As far as I can tell, there isn't a way to replay a Single's result to future subscribers without re-subscribing upstream or round-tripping through an Observable for cache(). This has come up 3 times in various channels with no good answer found.

Is cache() missing? Or is there some other way of doing this that I can't see?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions