You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
I am only a beginner at RxJS, but from what I saw so far, using .publish().refCount() (or .share(), as said in the answer, which is the same thing) is the blessed way to do this.
You will see this couple used a lot in the source code of this library.
I recently had the same problem as http://stackoverflow.com/questions/26664793/createobservablefunction-subscriber-gets-overriden
where trying to
subscribe()
multiple times to the same observable created via$scope.$createObservableFunction
overwrites the previous subscription (see the StackOverflow code example).In a comment to the question, the person asking the question followed up with
I can confirm this works with multiple subscriptions. Is there another (better) way of doing this?
The text was updated successfully, but these errors were encountered: