* Registers a handler for LSP notifications from the server. * * @param method - LSP notification method (e.g., 'window/logMessage') * @param handler - Callback function to handle the notification
(
method: string,
handler: (params: unknown) => void,
)
| 443 | * @param handler - Callback function to handle the notification |
| 444 | */ |
| 445 | function onNotification( |
| 446 | method: string, |
| 447 | handler: (params: unknown) => void, |
| 448 | ): void { |
| 449 | client.onNotification(method, handler) |
| 450 | } |
| 451 | |
| 452 | /** |
| 453 | * Registers a handler for LSP requests from the server. |
nothing calls this directly
no outgoing calls
no test coverage detected