Skip to content

Question: Sharing the Stream In Data Architecture with Observable - Part1 #56

@BAZINGAyi

Description

@BAZINGAyi

Hi,I read the chapter by Sharing the Stream In Data Architecture with Observable . I have a question,I can't understand why to use publishRepaly(1) and refCount() method to collect messages.

First, I know publishRepaly(1) mean to save 1 value

Second, I know refCount() mean automate publish message and needn't use connect() method.

But, I don't know why to design for it.

Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions