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

Method on_close

python/copilot/canvas.py:159–160  ·  view source on GitHub ↗

Canvas was closed by the user or agent. Default: no-op.

(self, ctx: CanvasProviderCloseRequest)

Source from the content-addressed store, hash-verified

157 """
158
159 async def on_close(self, ctx: CanvasProviderCloseRequest) -> None:
160 """Canvas was closed by the user or agent. Default: no-op."""
161
162 async def on_action(self, ctx: CanvasProviderInvokeActionRequest) -> Any:
163 """Handle a non-lifecycle action declared by the canvas."""

Callers 2

closeMethod · 0.45
_read_loopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected