MCPcopy
hub / github.com/microsoft/vscode-languageserver-node / unregister

Method unregister

client/src/client.ts:2176–2181  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

2174 }
2175
2176 public unregister(id: string): void {
2177 let disposeables = this._commands.get(id);
2178 if (disposeables) {
2179 disposeables.forEach(disposable => disposable.dispose());
2180 }
2181 }
2182
2183 public dispose(): void {
2184 this._commands.forEach((value) => {

Callers

nothing calls this directly

Calls 3

forEachMethod · 0.80
disposeMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected