noop.go

 1package notification
 2
 3import tea "charm.land/bubbletea/v2"
 4
 5// NoopBackend is a no-op notification backend that does nothing.
 6// This is the default backend used when notifications are not supported.
 7type NoopBackend struct{}
 8
 9// Send does nothing and returns nil.
10func (NoopBackend) Send(_ Notification) tea.Cmd {
11	return nil
12}