Conc: Better Structured Concurrency for Go
The WaitGroup looks suspiciously like errgroup, which even has the .WithMaxGoroutines() functionality: <a href="https://pkg.go.dev/golang.org/x/sync/errgroup" rel="nofollow">https://pkg.go.dev/golang.org/x/sync/errgroup</a><p>> A frequent problem with goroutines in long-running applications is handling panics. A goroutine spawned without a panic handler will crash the whole process on panic. This is usually undesirable.<p>In go land, this seems desirable. Recoverable errors should be propagated as return values, not as panics.