Notify subscribers that a watched resource changed by emitting a
notifications/resources/updated on the standalone GET SSE stream (per
server/resources Subscriptions: "Server delivers
notifications/resources/updated ... whenever a watched resource
changes"). Per ResourceUpdatedNotificationParams in every spec version
(2024-11-05 .. 2025-11-25 .. draft) the params carry exactly { "uri": ... }
(plus the inherited optional _meta); there is no title field on this
notification (a resource's title lives on the Resource object in
resources/list). It is delivered only when a client is currently
subscribed to uri (via resources/subscribe); for an unsubscribed URI
it is a no-op returning 0. For the draft protocol the notification is
additionally suppressed unless a client opted in via subscriptions/listen
with resourceSubscriptions:true. Returns the number of GET-stream
listeners reached; 0 when no GET stream is open.
Notify subscribers that a watched resource changed by emitting a notifications/resources/updated on the standalone GET SSE stream (per server/resources Subscriptions: "Server delivers notifications/resources/updated ... whenever a watched resource changes"). Per ResourceUpdatedNotificationParams in every spec version (2024-11-05 .. 2025-11-25 .. draft) the params carry exactly { "uri": ... } (plus the inherited optional _meta); there is no title field on this notification (a resource's title lives on the Resource object in resources/list). It is delivered only when a client is currently subscribed to uri (via resources/subscribe); for an unsubscribed URI it is a no-op returning 0. For the draft protocol the notification is additionally suppressed unless a client opted in via subscriptions/listen with resourceSubscriptions:true. Returns the number of GET-stream listeners reached; 0 when no GET stream is open.