J
J
JZX2021-08-13 15:28:20
Java
JZX, 2021-08-13 15:28:20

When should you use replay(1).refcount()?

I heard that when there are several subscriptions to one ConncentableObservable, it is necessary to use replay(1).refcount() because sometimes the data may not reach some subscriptions.
For what reasons can this happen? How can this situation be implemented in code?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question