| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(A action)
Dispatch an action to this store.
|
S |
state()
Get the store's current state
|
void |
subscribe(io.reactivex.Observer<S> stateSubscriber)
Subscribe to the store's state changes.
|
void dispatch(A action) throws Exception
action - The action to dispatchExceptionvoid subscribe(io.reactivex.Observer<S> stateSubscriber)
stateSubscriber - The state subscriber that will be notified once the state changesS state()
Copyright © 2017. All rights reserved.