MCPcopy Create free account
hub / github.com/DarthSim/overmind / Wait

Method Wait

start/process.go:83–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81}
82
83func (p *process) Wait() {
84 ticker := time.NewTicker(runningCheckInterval)
85 defer ticker.Stop()
86
87 for range ticker.C {
88 if p.dead {
89 return
90 }
91 }
92}
93
94func (p *process) Running() bool {
95 if pid := p.pid; pid > 0 {

Callers 4

StartObservingMethod · 0.95
observeMethod · 0.80
ShutdownMethod · 0.80
RunMethod · 0.80

Calls 1

StopMethod · 0.45

Tested by

no test coverage detected