MCPcopy Index your code
hub / github.com/git-bug/git-bug / Wait

Method Wait

util/multierr/errwaitgroup.go:44–50  ·  view source on GitHub ↗

Wait blocks until all function calls from the Go method have returned, then returns the combined non-nil errors (if any) from them.

()

Source from the content-addressed store, hash-verified

42// Wait blocks until all function calls from the Go method have returned, then
43// returns the combined non-nil errors (if any) from them.
44func (g *ErrWaitGroup) Wait() error {
45 g.wg.Wait()
46 if g.cancel != nil {
47 g.cancel()
48 }
49 return g.err
50}
51
52// Go calls the given function in a new goroutine.
53// It blocks until the new goroutine can be added without the number of

Calls

no outgoing calls

Tested by

no test coverage detected