MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / exitApp

Function exitApp

src/back/responses.ts:2874–2876  ·  view source on GitHub ↗
(state: BackState, beforeProcessExit?: () => void | Promise<void>)

Source from the content-addressed store, hash-verified

2872 * @param beforeProcessExit Function to call right before process exit
2873 */
2874export async function exitApp(state: BackState, beforeProcessExit?: () => void | Promise<void>) {
2875 return exit(state, beforeProcessExit);
2876}
2877
2878async function downloadGameDataRes(state: BackState, gameData: GameData) {
2879 const onDetails = (details: DownloadDetails) => {

Callers 2

openFlashpointManagerFunction · 0.90
registerRequestCallbacksFunction · 0.85

Calls 1

exitFunction · 0.90

Tested by

no test coverage detected