MappedDispatch<Msg> extension
- on
-
- Dispatch<
Msg>
- Dispatch<
Methods
-
consume(
Cmd< Msg> cmd) → void -
Available on Dispatch<
This helper function can be used in different scenarios where you have a Cmd and need to process them using an available dispatch in the context.Msg> , provided by the MappedDispatch extension -
map<
InnerMsg> (Msg mapper(InnerMsg inner)) → Dispatch< InnerMsg> -
Available on Dispatch<
This helper function can be used when going from a parent view to a child view.Msg> , provided by the MappedDispatch extension