Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct{}
Service is the shared implementation of domain.ChatEventListener used by every handler/service that needs to keep pumping a Bubble Tea channel.
func (*Service) ListenForChatEvents ¶
ListenForChatEvents returns a tea.Cmd that reads one event off the chat event channel and surfaces it as the next tea.Msg. A closed channel terminates the listener (returns nil).
Click to show internal directories.
Click to hide internal directories.