Open markus-wa opened 6 months ago
note: golang.org/x/sync/errgroup
already has this functionality - but unfortunately they only return the first error when more than one occurred - so I figured it made sense to add the SetLimit
functionality here instead
This allows us to control the max number of goroutines that can be ran concurrently