MCPcopy
hub / github.com/codeaashu/claude-code / isBgSession

Function isBgSession

src/utils/concurrentSessions.ts:44–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 * instead of killing the process.
43 */
44export function isBgSession(): boolean {
45 return envSessionKind() === 'bg'
46}
47
48/**
49 * Write a PID file for this session and register cleanup.

Callers 2

callFunction · 0.85
REPLFunction · 0.85

Calls 1

envSessionKindFunction · 0.85

Tested by

no test coverage detected