Skip to content

Type Alias: ResourceNotificationSink()

ts
type ResourceNotificationSink = (uri) => void | Promise<void>;

Defined in: packages/core/src/resource/SubscriptionManager.ts:23

Notification sink for notifications/resources/updated.

Set by ServerAttachment to bridge into the MCP transport.

Parameters

ParameterType
uristring

Returns

void | Promise<void>