Hi, I was wondering if there is a way to be notified when the amount of subscribers on an observable changes. Something like
subscribersChanged(observable, newCount => doSomething(newCount))
I implemented some sort of pipe equivalent to RxJS and I would like to have this functionality so I can unobserve the chain of observables in the pipe when the last observable isn't observed anymore.
Hi, I was wondering if there is a way to be notified when the amount of subscribers on an observable changes. Something like
I implemented some sort of
pipeequivalent to RxJS and I would like to have this functionality so I can unobserve the chain of observables in the pipe when the last observable isn't observed anymore.