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

Method Done

go/copilot_request_handler.go:138–138  ·  view source on GitHub ↗

Done is closed when the upstream connection completes (closed or errored).

()

Source from the content-addressed store, hash-verified

136 SendRequestMessage(ctx context.Context, msg CopilotWebSocketMessage) error
137 // Done is closed when the upstream connection completes (closed or errored).
138 Done() <-chan struct{}
139 // Err returns the terminal error after Done is closed, or nil on clean close.
140 Err() error
141 // Close tears down the connection.

Callers 15

handleWebSocketMethod · 0.95
TestSession_OnFunction · 0.65
SendAndWaitMethod · 0.65
TestClient_StartStopRaceFunction · 0.65
HttpRequestStartMethod · 0.65
startCLIServerMethod · 0.65
receivePermissionFunction · 0.65
receiveToolFunction · 0.65
receiveAssistantFunction · 0.65
sendMessageMethod · 0.65
readLoopMethod · 0.65

Implementers 1

CopilotWebSocketForwardergo/copilot_request_handler.go

Calls

no outgoing calls

Tested by 5

TestSession_OnFunction · 0.52
TestClient_StartStopRaceFunction · 0.52
RoundTripMethod · 0.52