ReducerProvider
public protocol ReducerProvider
                An object which gives you all responsible reducers for a given action and state
- 
                  
                  
Returns all responsible synchron reducers for a given action, state pair
Declaration
Swift
func reducers<StateType>(action: Action, state: StateType) -> [AnyActionReducer]Parameters
actionan action
statethe current state
Return Value
all responsible reducers for this action state pair
 - 
                  
                  
Returns all responsible async reducers for a given action, state pair
Declaration
Swift
func reducers<StateType>(action: Action, state: StateType) -> [AnyAsyncActionReducer]Parameters
actionan action
statethe current state
Return Value
all responsible reducers for this action state pair
 - 
                  
                  
reduce your state for an action, for all responsible reducers
Declaration
Swift
func reduce<StateType>(action: Action, state: StateType) -> StateTypeParameters
actionan action
stateyour current state
Return Value
your new state
 - 
                  
                  
reduce your state for an action, for all responsible reducers
Declaration
Swift
func reduce<StateType>(action: Action,state: StateType, completion: @escaping () -> Void) -> StateTypeParameters
actionan action
stateyour current state
completioncopletion called when the action was reduced
Return Value
your new state
 
View on GitHub
        ReducerProvider Protocol Reference