Versions in this module Expand all Collapse all v0 v0.1.0 Oct 4, 2022 Changes in this version + type Cmd func() Msg + func Batch(cmds ...Cmd) Cmd + type Loop struct + PostUpdate func(M) + func New(model M) *Loop[M] + func (loop *Loop[M]) Run(ctx context.Context, cmd Cmd) M + func (loop *Loop[M]) Send() chan<- Msg + type Model interface + Update func(Msg) (N, Cmd) + type Msg any + func Quit() Msg