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

Method removeAPISession

internal/lsp/server.go:1807–1811  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

1805}
1806
1807func (s *Server) removeAPISession(id string) {
1808 s.apiSessionsMu.Lock()
1809 defer s.apiSessionsMu.Unlock()
1810 delete(s.apiSessions, id)
1811}
1812
1813// !!! temporary; remove when we have `handleDidChangeConfiguration`/implicit project config support
1814func (s *Server) SetCompilerOptionsForInferredProjects(ctx context.Context, options *core.CompilerOptions) {

Callers 1

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected