MCPcopy Create free account
hub / github.com/Ark0N/Codeman / toggleService

Function toggleService

src/web/route-helpers.ts:194–208  ·  view source on GitHub ↗
(
  enabled: boolean,
  service: { isRunning(): boolean; start(): void; stop(): void },
  label: string,
  onStart?: () => void
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

registerSystemRoutesFunction · 0.85

Calls 5

onStartFunction · 0.85
stopMethod · 0.65
isRunningMethod · 0.45
startMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected