Method
restart
(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 }); |
Tested by
no test coverage detected