| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(A action)
Dispatch an action to this store.
|
S |
state()
Get the store's current state
|
rx.Subscription |
subscribe(rx.Subscriber<S> stateSubscriber)
Subscribe to the store's state changes.
|
void dispatch(A action)
action - The action to dispatchrx.Subscription subscribe(rx.Subscriber<S> stateSubscriber)
stateSubscriber - The state subscriber that will be notified once the state changesS state()
Copyright © 2016. All rights reserved.