I'm trying to use Rxjs as a way to manage garbage collection in a large state tree.
How can I create an operator that takes a callback function that is triggered every time the number of subscribers to the observable alters?
I'm trying to use Rxjs as a way to manage garbage collection in a large state tree.
How can I create an operator that takes a callback function that is triggered every time the number of subscribers to the observable alters?