MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / onClose

Method onClose

src/debug/dart_debug_protocol.ts:541–543  ·  view source on GitHub ↗
(cb: (code: number, message: string) => void)

Source from the content-addressed store, hash-verified

539 }
540
541 public onClose(cb: (code: number, message: string) => void) {
542 this.socket.on("close", cb);
543 }
544
545 private logTraffic(message: string): void {
546 if (this.logging) {

Callers 1

initDebuggerFunction · 0.80

Calls 1

onMethod · 0.80

Tested by

no test coverage detected