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

Method restart

src/debug/run_daemon.ts:102–104  ·  view source on GitHub ↗
(appId: string, pause: boolean, hotRestart: boolean, args?: { reason: string, debounce?: boolean })

Source from the content-addressed store, hash-verified

100 // Request methods.
101
102 public restart(appId: string, pause: boolean, hotRestart: boolean, args?: { reason: string, debounce?: boolean }): Thenable<any> {
103 return this.sendRequest("app.restart", { appId, fullRestart: hotRestart === true, pause, reason: args?.reason, debounce: args?.debounce });
104 }
105
106 public stop(appId: string): Thenable<UnknownResponse> {
107 return this.sendRequest("app.stop", { appId });

Callers 1

performReloadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected