Convenience function for lifting an update function for an inner model and messages, that also returns an additional out parameters into a parent one.
Allows the output of an update function that returns type:
( model, Cmd msg, outmsg )To have its model and out message evaluated in order to produce a new model, and to create more commands. The commands returned will be appended to those passed in using Cmd.batch.
Allows the output of an update function that returns type:
( model, Cmd msg, outmsg )To have its model and out message evaluated in order to produce a new model, and to create more commands. The commands returned will be appended to those passed in using Cmd.batch.
Allows the output of an update function that returns type:
(model, Cmd msg, Maybe outmsg)To have its model and out message evaluated in order to produce a new model, and to create more commands. The commands returned will be appended to those passed in using Cmd.batch.
Allows the output of an update function that returns type:
(model, Cmd msg, Cmd outmsg)To have its model and out message evaluated in order to produce a new model, and to create more commands. The commands returned will be appended to those passed in using Cmd.batch.
Note that the eval function in this case is not provided with the model, since the commands being processed are opaque, so it should not be possible to make a decision on how to update the model based on them.
Maps over the model.
Maps over the Cmds
Maps over the out message
Adds an out message to the usual (model, Cmd msg) structure.
Lifts an update function of type:
Into one that returns: