RxJS: multicast’s Secret
multicast has a secret. And so does
publish — which wraps
multicast. And it’s sometimes really useful.
The documentation for
publish mentions a
ConnectableObservable. A connectable observable is type of observable that waits until its
connect method is called before it begins emitting notifications to subscribers. However, the