MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / localServiceProcessExited

Function localServiceProcessExited

scripts/studio-provider-bridge.mjs:200–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198}
199
200function localServiceProcessExited() {
201 if (
202 Number.isInteger(localServicePid) &&
203 localServicePid > 0 &&
204 !processIsRunning(localServicePid)
205 ) {
206 console.error(
207 `[simdeck-provider-bridge] local SimDeck service process ${localServicePid} is no longer running.`,
208 );
209 printRecentServiceLog();
210 return true;
211 }
212 return false;
213}
214
215function updateLocalAvailability(metadata) {
216 if (stopped) {

Callers 1

registerProviderFunction · 0.85

Calls 3

processIsRunningFunction · 0.85
printRecentServiceLogFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected