MCPcopy
hub / github.com/coder/mux / close

Method close

src/node/services/browser/BrowserControlService.test.ts:44–48  ·  view source on GitHub ↗
(code = 0, signal: NodeJS.Signals | null = null)

Source from the content-addressed store, hash-verified

42 }
43
44 close(code = 0, signal: NodeJS.Signals | null = null): void {
45 this.emit("close", code, signal);
46 this.stdout.end();
47 this.stderr.end();
48 }
49
50 fail(error: Error): void {
51 this.emit("error", error);

Callers

nothing calls this directly

Calls 2

emitMethod · 0.95
endMethod · 0.45

Tested by

no test coverage detected