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