update abstract method

(Model, Cmd<Msg>) update(
  1. Msg msg,
  2. Model model
)

Creates an updated model and a list of commands from a message and the current model.

Implementation

(Model, Cmd<Msg>) update(Msg msg, Model model);