code: func (g *GoroutinePriorityPool) Wait() error {
  	g.wg.Wait()
  	return g.ctx.Err()
  }
docs: // Wait blocks until all started jobs are done, or the context is canceled.
  //
  // Returns nil if all jobs have been executed, or the error if the associated
  // context is canceled.