MCPcopy Create free account
hub / github.com/dagger/dagger / WithLimit

Method WithLimit

util/parallel/parallel.go:176–180  ·  view source on GitHub ↗
(limit int)

Source from the content-addressed store, hash-verified

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

Callers 5

ensureModulesLoadedMethod · 0.80
TidyMethod · 0.80
CheckTidyMethod · 0.80
LintMethod · 0.80

Calls 1

CloneMethod · 0.95

Tested by

no test coverage detected