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

Function serviceStatus

scripts/studio-host-provider.mjs:155–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153}
154
155async function serviceStatus() {
156 const { stdout } = await execFileAsync(
157 simdeckBinary(),
158 ["service", "status"],
159 {
160 timeout: 15000,
161 },
162 );
163 const parsed = JSON.parse(stdout);
164 return parsed.service || parsed;
165}
166
167function serviceLooksUsable(status, config) {
168 if (!status?.httpUrl || !status?.accessToken) {

Callers 1

ensureServiceFunction · 0.85

Calls 2

simdeckBinaryFunction · 0.85
parseMethod · 0.45

Tested by

no test coverage detected