MCPcopy
hub / github.com/ChromeDevTools/chrome-devtools-mcp / stop

Method stop

tests/server.ts:96–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 }
95
96 stop(): Promise<void> {
97 return new Promise((res, rej) => {
98 this.#server.closeAllConnections();
99 this.#server.close(err => {
100 if (err) {
101 rej(err);
102 } else {
103 res();
104 }
105 });
106 });
107 }
108}
109
110export function serverHooks() {

Callers 5

mainFunction · 0.95
serverHooksFunction · 0.95
screencast.tsFile · 0.80
timeEndMethod · 0.80

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected