A useful pattern for I/O heavy or view-less apps. User defines an order type to use instead of Cmd<'msg> and an "execute" function processing said orders and dispatching message. It frees the update function from command code, centralizes I/O in a elmishy way and exempts from the Cmd module. Inspired by the CmdMsg pattern, see: https://fsprojects.github.io/Fabulous/Fabulous.XamarinForms/update.html#replacing-commands-with-command-messages-for-better-testability
6 people like thisPosted: 3 years ago by Julien Di Lenarda