Instructs the ConsoleForge source generator to produce the Update(IMsg) dispatch method for this partial record or class.
More...
Instructs the ConsoleForge source generator to produce the Update(IMsg) dispatch method for this partial record or class.
The generator scans for methods matching the pattern (IModel Model, ICmd? Cmd) On{MsgType}(...) and emits a switch that routes each message type to its handler. The type must be declared partial.