getState$
getState$ retrieves an observable to listen for the application's state changes.
It immediately notifies the current state, then it notifies changes over the state.
Usage
Copy
getState$(): Rx.Observable<any>
Returns
-
Rx.Observable<any>
An observable of the application state.
Example
Copy
storeHelper.getState$().subscribe((state) => {
// Do things with the state
});