code: func (i *InParallel) Wait() error {
  	i.wg.Wait()
  	obj := i.pool.Get()
  	if err, ok := obj.(error); ok {
  		return err
  	}
  	return nil
  }
docs: // Wait waits for all tasks to complete and returns the latest error encountered if any.