diff options
| author | Asko Nõmm <asko@nmm.ee> | 2025-04-13 22:50:46 +0300 |
|---|---|---|
| committer | Asko Nõmm <asko@nmm.ee> | 2025-04-13 22:50:46 +0300 |
| commit | 1eb3d02ade6276809181903e2dfcb6c09a5b312c (patch) | |
| tree | b57f65a4ba9b0c4a22d66a76349204cf14290dc2 /README.md | |
| parent | fd6888cce41a03fd4269fa8e243fcb19f6e0a05f (diff) | |
Fix incorrect subscriptionCount API method name
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ So now if `some-event-name` is dispatched, it also dispatches `counter-increase` #### Get the subscription count -If you want to get the number of subscriptions for a specific event or state change, you can use the `$.getSubscriptionCount` method. This method takes the event or state change name as its argument and returns the number of subscriptions. +If you want to get the number of subscriptions for a specific event or state change, you can use the `$.subscriptionCount` method. This method takes the event or state change name as its argument and returns the number of subscriptions. ```typescript // State change subscriptions |
