ajwah_bloc library
Classes
- Action
-
In
Action
generic T used for pauload action. - Actions
- used for making effects applying filters on action type(s). [...]
- AjwahStore
Functions
-
createStore(
{bool exposeApiGlobally: false} ) → AjwahStore - This is the entry point of the ajwah store. [...]
-
dispatch(
Action action ) → void - This is a helper function of store.dispatch(Action action).
-
registerState<
S> ({String stateName, S initialState, MapActionToStateCallback< S> mapActionToState}) → void - This method is usefull to add a state passing stateInstance on demand.
-
select<
T> (String stateName ) → Stream< T> - This is a helper function of store.select(String stateName). [...]
-
storeInstance(
) → AjwahStore
Typedefs
-
EffectCallback(
Actions action$, AjwahStore store ) → Stream< Action> -
EmitStateCallback<
S> (S state ) → void -
MapActionToStateCallback<
S> (S state, Action action, EmitStateCallback< S> emit) → void