Introduction to the ConnectableObservable and using publish().refCount() in RxJS

InstructorAndré Staltz

Share this video with your friends

Send Tweet

An RxJS cold Observable can be made hot by declaring it with .publish().refCount(). What does publish() do? What does refCount() do? This lesson introduces the ConnectableObservable, and how to use it with publish and refCount.