MCPcopy
hub / github.com/microsoft/vscode-languageserver-node / onNotification

Method onNotification

client/src/client.ts:98–98  ·  view source on GitHub ↗
(type: NotificationType0<RO>, handler: NotificationHandler0)

Source from the content-addressed store, hash-verified

96 sendNotification(method: string | RPCMessageType, params?: any): void;
97
98 onNotification<RO>(type: NotificationType0<RO>, handler: NotificationHandler0): void;
99 onNotification<P, RO>(type: NotificationType<P, RO>, handler: NotificationHandler<P>): void;
100 onNotification(method: string, handler: GenericNotificationHandler): void;
101 onNotification(method: string | RPCMessageType, handler: GenericNotificationHandler): void;

Callers 2

createConnectionFunction · 0.65
onNotificationFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected