Documentation
¶
Overview ¶
Package notify coalesces resource-change events into debounced notifications/resources/updated, keyed per resource URI.
Index ¶
Constants ¶
View Source
const DefaultDebounce = 500 * time.Millisecond
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
func (*Publisher) Attach ¶
Attach binds the MCP server used to send notifications. Call once, before the first Touch.
func (*Publisher) HandleSubscribe ¶
func (*Publisher) HandleUnsubscribe ¶
HandleUnsubscribe is a no-op: the SDK owns subscription state and ResourceUpdated already skips unsubscribed sessions.
Click to show internal directories.
Click to hide internal directories.