summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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