ELI5: Commands Usage

Let’s start with type annotations:

update : Msg -> Model -> (Model, Cmd Msg)

So the command has to wrap a message of the same type that your update accepts.

(I see other people replying; hopefully taken together you can figure things out.)