MCPcopy Create free account
hub / github.com/microsoft/typescript-go / sendResponse

Method sendResponse

internal/lsp/server.go:687–689  ·  view source on GitHub ↗
(resp *lsproto.ResponseMessage)

Source from the content-addressed store, hash-verified

685}
686
687func (s *Server) sendResponse(resp *lsproto.ResponseMessage) error {
688 return s.send(resp.Message())
689}
690
691// send writes a message to the outgoing queue, respecting context cancellation.
692func (s *Server) send(msg *lsproto.Message) error {

Callers 2

sendResultMethod · 0.95
sendErrorMethod · 0.95

Calls 2

sendMethod · 0.95
MessageMethod · 0.45

Tested by

no test coverage detected