Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ waitForExit
Function
waitForExit
packages/computerd/src/exec/runner.fuse.test.ts:168–171 ·
view source on GitHub ↗
(proc: ChildProcess)
Source
from the content-addressed store, hash-verified
166
}
167
168
async
function
waitForExit(proc: ChildProcess): Promise<void> {
169
if
(proc.exitCode !== null)
return
;
170
await
new
Promise<void>((resolveExit) => proc.once(
"exit"
, () => resolveExit()));
171
}
Callers
1
runner.fuse.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected