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

Method onNotification

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

Source from the content-addressed store, hash-verified

307 sendNotification(method: string, ...params: any[]): void;
308
309 onNotification<RO>(type: NotificationType0<RO>, handler: NotificationHandler0): void;
310 onNotification<P, RO>(type: NotificationType<P, RO>, handler: NotificationHandler<P>): void;
311 onNotification<P1, RO>(type: NotificationType1<P1, RO>, handler: NotificationHandler1<P1>): void;
312 onNotification<P1, P2, RO>(type: NotificationType2<P1, P2, RO>, handler: NotificationHandler2<P1, P2>): void;

Callers 2

_createMessageConnectionFunction · 0.65
connection.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected