MCPcopy Index your code
hub / github.com/sourcegraph/conc / Wait

Method Wait

pool/error_pool.go:36–39  ·  view source on GitHub ↗

Wait cleans up any spawned goroutines, propagating any panics and returning any errors from tasks.

()

Source from the content-addressed store, hash-verified

34// Wait cleans up any spawned goroutines, propagating any panics and
35// returning any errors from tasks.
36func (p *ErrorPool) Wait() error {
37 p.pool.Wait()
38 return p.errs
39}
40
41// WithContext converts the pool to a ContextPool for tasks that should
42// run under the same context, such that they each respect shared cancellation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected