Wait cleans up any spawned goroutines, propagating any panics and returning any errors from tasks.
()
| 34 | // Wait cleans up any spawned goroutines, propagating any panics and |
| 35 | // returning any errors from tasks. |
| 36 | func (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. |
nothing calls this directly
no outgoing calls
no test coverage detected