rootReducer

fun rootReducer(state: ServerState, action: Any): ServerState

Root reducer of the server. Uses all the other server reducers.

Parameters

state

the old server state.

action

the action to be applied.