WithConcurrency sets the maximum number of tasks that the [Executor] can run in parallel.
(concurrency int)
| 500 | // WithConcurrency sets the maximum number of tasks that the [Executor] can run |
| 501 | // in parallel. |
| 502 | func WithConcurrency(concurrency int) ExecutorOption { |
| 503 | return &concurrencyOption{concurrency} |
| 504 | } |
| 505 | |
| 506 | type concurrencyOption struct { |
| 507 | concurrency int |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…