MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / restart

Function restart

apps/desktop/main/api/index.ts:116–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114}
115
116export async function restart(): Promise<void> {
117 await stop()
118 await start()
119}
120
121/**
122 * Auto-restore on app startup: attempt to start if config.enabled is true.

Callers

nothing calls this directly

Calls 2

stopFunction · 0.85
startFunction · 0.85

Tested by

no test coverage detected