Hi, does anybody know about some equivalent for ha...
# android
o
Hi, does anybody know about some equivalent for hasSubscribers() method in ConflatedBroadcastChannel? I want to implement Repository pattern with updateIfNeeded() method and I need to know if there are real subscribers(views) to my repo..
z
There is none afaik, but you could write a Flow operator that does this
o
Which operator?
z
None currently exists, but I think you could write one to track subscribers and expose this information.