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

Method onOpen

src/debug/dart_debug_protocol.ts:363–365  ·  view source on GitHub ↗
(cb: () => void)

Source from the content-addressed store, hash-verified

361 }
362
363 public onOpen(cb: () => void) {
364 this.socket.on("open", cb);
365 }
366
367 // TODO: This API doesn't make it obvious you can only have one subscriber.
368 public onLogging(callback: (message: string) => void) {

Callers 1

initDebuggerFunction · 0.80

Calls 1

onMethod · 0.80

Tested by

no test coverage detected