From 1eb3d02ade6276809181903e2dfcb6c09a5b312c Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 13 Apr 2025 22:50:46 +0300 Subject: Fix incorrect subscriptionCount API method name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3