RxJS: How to Use refCount
My previous article — Understanding the publish and share Operators — looked only briefly at the
refCount method. Let’s look at it more closely here.
What does refCount do?
To recap, the basic mental model for multicasting in RxJS involves: a source observable; a subject subscribed to the source; and multiple observers subscribed to the subject. The