MCPcopy Create free account
hub / github.com/coder/mux / cleanup

Method cleanup

vscode/src/webview/createVscodeOrpcLink.ts:133–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 private cleanup(): void {
134 if (this.abortSignal && this.abortListener) {
135 this.abortSignal.removeEventListener("abort", this.abortListener);
136 }
137
138 this.onFinish?.();
139 }
140
141 push(value: T): void {
142 if (this.done) {

Callers 2

endMethod · 0.95
failMethod · 0.95

Calls 1

removeEventListenerMethod · 0.80

Tested by

no test coverage detected