MCPcopy Index your code
hub / github.com/coder/envbox / Wait

Method Wait

background/process.go:61–67  ·  view source on GitHub ↗

Wait waits for the process to exit, returning the error on the provided channel.

()

Source from the content-addressed store, hash-verified

59// Wait waits for the process to exit, returning the error on the provided
60// channel.
61func (d *Process) Wait() <-chan error {
62 d.mu.Lock()
63 waitCh := d.waitCh
64 d.mu.Unlock()
65
66 return waitCh
67}
68
69// Run runs the command and waits for it to exit. It is a convenience
70// function that combines both Start() and Wait().

Callers 3

RunMethod · 0.95
startProcessMethod · 0.45
newAgentClientV2Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected