Skip to content

Commit 1fcf563

Browse files
committed
readme
1 parent e2e0834 commit 1fcf563

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,14 @@ appState.error()
4343
appState.stopped()
4444
```
4545

46-
**Application state values: INIT, ERROR, RUNNING, STOPPED**
46+
Reading application state.
47+
48+
```javascript
49+
const appState = require('./appState')()
50+
let appState = appState.get()
51+
```
52+
53+
**Application state values are 'INIT', 'ERROR', 'RUNNING', 'STOPPED'**
4754

4855
## Best practice
4956

0 commit comments

Comments
 (0)