MCPcopy Create free account
hub / github.com/go-task/task / WithParallel

Function WithParallel

executor.go:474–476  ·  view source on GitHub ↗

WithParallel tells the [Executor] to run tasks given in the same call in parallel.

(parallel bool)

Source from the content-addressed store, hash-verified

472// WithParallel tells the [Executor] to run tasks given in the same call in
473// parallel.
474func WithParallel(parallel bool) ExecutorOption {
475 return &parallelOption{parallel}
476}
477
478type parallelOption struct {
479 parallel bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…