MappedUpdate<InnerModel, InnerMsg> extension

on
  • (InnerModel, Cmd<InnerMsg>)

Methods

map<Model, Msg>(Model mapperModel(InnerModel innerModel), Msg mapperMsg(InnerMsg inner)) → (Model, Cmd<Msg>)

Available on (InnerModel, Cmd<InnerMsg>), provided by the MappedUpdate extension

This helper function can be used when going from a child update to a parent update.