MCPcopy Index your code
hub / github.com/github/copilot-sdk / set_notification_handler

Method set_notification_handler

python/copilot/_jsonrpc.py:231–233  ·  view source on GitHub ↗

Set the handler for incoming notifications from the server.

(self, handler: Callable[[str, dict], None])

Source from the content-addressed store, hash-verified

229 await self._send_message(message)
230
231 def set_notification_handler(self, handler: Callable[[str, dict], None]):
232 """Set the handler for incoming notifications from the server."""
233 self.notification_handler = handler
234
235 def set_request_handler(self, method: str, handler: RequestHandler):
236 if handler is None:

Callers 2

_connect_via_stdioMethod · 0.80
_connect_via_tcpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected