MappedUpdate<InnerModel, InnerMsg> extension

on
  • (InnerModel, Cmd<InnerMsg>)

Methods

map<Model, Msg>(Model mapperModel(InnerModel innerModel), Msg mapperMsg(InnerMsg inner)) → (Model, Cmd<Msg>)
This helper function can be used when going from a child update to a parent update.