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

Method on

src/debug/dart_debug_protocol.ts:384–387  ·  view source on GitHub ↗
(streamId: string, callback: (event: VMEvent) => void)

Source from the content-addressed store, hash-verified

382 }
383
384 public on(streamId: string, callback: (event: VMEvent) => void): Promise<DebuggerResult> {
385 this.eventListeners[streamId] = callback;
386 return this.streamListen(streamId);
387 }
388
389 public streamListen(streamId: string): Promise<DebuggerResult> {
390 return this.callMethod("streamListen", { streamId });

Callers 15

startMethod · 0.80
waitForEventMethod · 0.80
assertOutputMethod · 0.80
constructorMethod · 0.80
launchMethod · 0.80
assertOutputContainsMethod · 0.80
waitForCustomEventMethod · 0.80
constructorMethod · 0.80
filterOutputStreamLinesFunction · 0.80
createDebugClientFunction · 0.80
constructorMethod · 0.80
killFlutterTesterFunction · 0.80

Calls 1

streamListenMethod · 0.95

Tested by 2

startMockServerFunction · 0.64
attachDebuggerFunction · 0.64