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

Method send

src/test/dart_debug_client.ts:106–112  ·  view source on GitHub ↗
(command: string, args?: any)

Source from the content-addressed store, hash-verified

104 }
105
106 public send(command: string, args?: any): Promise<any> {
107 for (const tracker of this.currentTrackers) {
108 if (tracker.onWillReceiveMessage)
109 tracker.onWillReceiveMessage({ command, arguments: args });
110 }
111 return super.send(command, args);
112 }
113
114 public start(port?: number): Promise<void> {
115 this.hasStarted = true;

Callers 15

initializeRequestMethod · 0.45
launchRequestMethod · 0.45
attachRequestMethod · 0.45
restartRequestMethod · 0.45
terminateRequestMethod · 0.45
disconnectRequestMethod · 0.45
setBreakpointsRequestMethod · 0.45

Calls 1

onWillReceiveMessageMethod · 0.45

Tested by

no test coverage detected