Processes the current state and an incoming message.
state
message
Returns a Next object containing the new state (if any) and a list of effects to execute.
Next<State, Effect> call(State state, Msg message);