Glossary: Go Beyond the Basics
g.SetLimit(n)
Also written: SetLimit
Caps how many of an errgroup's goroutines run at once. It must be called before the first `g.Go`, which then waits while `n` are running.
Glossary: Go Beyond the Basics
Also written: SetLimit
Caps how many of an errgroup's goroutines run at once. It must be called before the first `g.Go`, which then waits while `n` are running.