constprocess:object
Defined in: process.ts:21
exit: (
code) =>Promise<void>
Terminates the app with an optional exit code.
number = 0
Promise<void>
relaunch: () =>
Promise<void>
Restarts the app. Best-effort: the host respawns itself detached and the current process terminates (in a packaged app the launcher respawns the full host + backend pair).
Promise<void>
exit(
code?):Promise<void>
Defined in: process.ts:8
Terminates the app with an optional exit code.
number = 0
Promise<void>
relaunch():
Promise<void>
Defined in: process.ts:17
Restarts the app. Best-effort: the host respawns itself detached and the current process terminates (in a packaged app the launcher respawns the full host + backend pair).
Promise<void>