Functions
#
exit▸ exit(exitCode?
): Promise
<void
>
Exits immediately with the given exitCode
.
#
ParametersName | Type | Default value | Description |
---|---|---|---|
exitCode | number | 0 | The exit code to use. |
#
ReturnsPromise
<void
>
A promise indicating the success or failure of the operation.
#
Defined in#
relaunch▸ relaunch(): Promise
<void
>
Exits the current instance of the app then relaunches it.
#
ReturnsPromise
<void
>
A promise indicating the success or failure of the operation.