CmdHandler creates a command that returns the given message
(msg tea.Msg)
| 37 | |
| 38 | // CmdHandler creates a command that returns the given message |
| 39 | func CmdHandler(msg tea.Msg) tea.Cmd { |
| 40 | return func() tea.Msg { |
| 41 | return msg |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | // Resolve retrieves a dependency of type T from the given tea.Model. |
| 46 | // |
no outgoing calls