MCPcopy Index your code
hub / github.com/callstack/agent-device / currentProcessOwner

Function currentProcessOwner

src/utils/__tests__/process-lock.test.ts:83–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81});
82
83function currentProcessOwner(): ProcessLockOwner {
84 return {
85 pid: process.pid,
86 startTime: readProcessStartTime(process.pid),
87 acquiredAtMs: Date.now(),
88 };
89}

Callers 1

Calls 1

readProcessStartTimeFunction · 0.90

Tested by

no test coverage detected