I have a service that returns a StateFlow for subs...
# coroutines
d
I have a service that returns a StateFlow for subscribers interested in a Node in a tree. I would like to close some resources when there are no subscribers. Is
subscriptionCount
a suitable way to track that?