From 8fa2077f292ed0fcabbdb01a436fc267fb16ae79 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Fri, 18 Apr 2025 19:24:23 +0300 Subject: Add state() helper method --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 25d4038..ce96c00 100644 --- a/README.md +++ b/README.md @@ -222,3 +222,11 @@ If you want to get all subscriptions, you can use the `subscriptions` method. Th ```typescript app.subscriptions(); ``` + +#### Get current app state + +If you want to get the current state of the app, you can use the `state` method. This method returns the current state of the app. + +```typescript +app.state(); +``` -- cgit v1.2.3