Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
44
export
function
isBgSession(): boolean {
45
return
envSessionKind() ===
'bg'
46
}
47
48
/**
49
* Write a PID file
for
this session and register cleanup.
Callers
2
call
Function · 0.85
REPL
Function · 0.85
Calls
1
envSessionKind
Function · 0.85
Tested by
no test coverage detected