Platform.Cmd
Processes
Commands a program performs after init or update.
Types
Cmd
type Cmd msg = CmdA command for the program runtime.
Examples
Cmd.noneValues
none
none : Cmd msgA command that does nothing.
Examples
Cmd.nonebatch
batch : List (Cmd msg) -> Cmd msgRun several commands.
Examples
Cmd.batch [ fetchUser, saveDraft ]map
map : (a -> msg) -> Cmd a -> Cmd msgTag the messages a command produces.
Examples
Cmd.map ChildMsg childCmd