summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-04-13 22:50:46 +0300
committerAsko Nõmm <asko@nmm.ee>2025-04-13 22:50:46 +0300
commit1eb3d02ade6276809181903e2dfcb6c09a5b312c (patch)
treeb57f65a4ba9b0c4a22d66a76349204cf14290dc2 /README.md
parentfd6888cce41a03fd4269fa8e243fcb19f6e0a05f (diff)
Fix incorrect subscriptionCount API method name
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 53e5254..f81e7f7 100644
--- a/README.md
+++ b/README.md
@@ -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