Redarx : action dispatcher commander store
Typedefs
-
AsyncCommandBuilder(
[value ]) → AsyncCommand<T> -
type of method which provide a method to instantiate a new AsyncCommand
-
CommandBuilder(
[value ]) → Command<T> -
type of method which provide a method to instantiate a new Command
-
Dispatch(
Request<T, V> req) → void -
Request<RequestType,dynamic|VO>
-
InitialStateProvider(
) → S -
provide Model.empty() proxy
Classes
- AbstractModel
-
state Model base class
- AsyncCommand
-
Command Base class
- CancelCommand
-
re-inject evaluate prev state
- Command
-
Command Base class
- Commander
-
listen to dispatcher's stream of actions and map them to commands, executed by the store on the model
- CommanderConfig
-
Commander configuration : map
RequestType
to CommandBuilder - CommandStreamReducer
-
Stream transformer : reduce new state from commands stream transform a Stream
to Stream - Dispatcher
-
actions dispatcher
- Request
-
Request aka Action, aka Events, aka Notification : type , update value
- ReversibleStore
-
Store with a commands backup, allowing to cancel commands
- Store
-
state manager