Added the notion of controllers and a dispatcher which will queue up operations
7 lines
123 B
Go
7 lines
123 B
Go
package dispatcher
|
|
|
|
import tea "github.com/charmbracelet/bubbletea"
|
|
|
|
type MessagePublisher interface {
|
|
Send(msg tea.Msg)
|
|
} |