debugSubscriberCount property

int get debugSubscriberCount

The current number of subscribers (including potentially dead weak references that have not yet been pruned).

Intended for debugging and testing only.

Implementation

int get debugSubscriberCount => _subscriberCount;