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