MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / scheduleRestart

Function scheduleRestart

scripts/dev-electron.ts:76–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76function scheduleRestart() {
77 if (restartTimer) {
78 clearTimeout(restartTimer)
79 }
80
81 restartTimer = setTimeout(() => {
82 stopElectronProcess()
83 void startElectronProcess()
84 }, 200)
85}
86
87async function main() {
88 await waitForBuildArtifacts()

Callers 1

mainFunction · 0.85

Calls 2

stopElectronProcessFunction · 0.85
startElectronProcessFunction · 0.85

Tested by

no test coverage detected