(limit int)
| 174 | } |
| 175 | |
| 176 | func (p parallelJobs) WithLimit(limit int) parallelJobs { |
| 177 | p = p.Clone() |
| 178 | p.Limit = &limit |
| 179 | return p |
| 180 | } |
| 181 | |
| 182 | func (p parallelJobs) Run(ctx context.Context) error { |
| 183 | if p.FailFast { |
no test coverage detected