Practice
Learn
← Quit
0 / 0 correct
Go
Hard
1 of 17
What does errgroup.Group (golang.org/x/sync/errgroup) add over sync.WaitGroup?
A
It limits memory use
B
It collects the first error, and with WithContext cancels the shared context so other goroutines can stop early
C
It retries failed goroutines
D
It runs goroutines sequentially