BehaviorMsg<Model> typedef
BehaviorMsg<Model> =
Update<Model> Function(Model)
Defines the behavior of the messages, taking a model and outputting a new model and optionally extra commands to send future messages
Implementation
typedef BehaviorMsg<Model> = Update<Model> Function(Model);