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

Method sendLaunchProgressEvent

src/debug/web_debug_impl.ts:98–106  ·  view source on GitHub ↗
(e: AppProgress)

Source from the content-addressed store, hash-verified

96 }
97
98 private sendLaunchProgressEvent(e: AppProgress) {
99 // We ignore finish progress events for launch progress because we use a
100 // single ID for launch progress to avoid multiple progress indicators and
101 // don't want to hide the overall progress when the first step completes.
102 //
103 // We'll hide the overall launch progress when we connect to the VM service.
104 if (!e.finished && e.message)
105 this.updateProgress(debugLaunchProgressId, e.message);
106 }
107
108 private sendProgressEvent(e: AppProgress) {
109 const progressId = `flutter-${e.appId}-${e.progressId}`;

Callers 1

spawnProcessMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected