Skip to content

0.6.0

Compare
Choose a tag to compare
@vitaly-t vitaly-t released this 05 Aug 22:27
· 229 commits to master since this release

The value of maxSubs set inside SubEvent constructor is now exposed as a read-only property on the class.

This was done so if you are monitoring subscriptions via onCount, you might want to compare the number of subscribers to maxSubs, to detect when the quota has been reached. This will help counter memory leaks.