MCPcopy
hub / github.com/oraios/serena / on_notification

Method on_notification

src/solidlsp/ls_process.py:338–342  ·  view source on GitHub ↗

Register the callback function to handle notifications from the server to the client for the given method

(self, method: str, cb: Callable[[Any], None])

Source from the content-addressed store, hash-verified

336 self.on_request_handlers[method] = cb
337
338 def on_notification(self, method: str, cb: Callable[[Any], None]) -> None:
339 """
340 Register the callback function to handle notifications from the server to the client for the given method
341 """
342 self.on_notification_handlers[method] = cb
343
344 def on_any_notification(self, cb: Callable[[str, Any], None]) -> None:
345 """

Callers 15

_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80
_start_serverMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected