Why should you call Add prior to initiating the goroutines instead of during their execution while using a sync.WaitGroup?
Running several goroutines (WaitGroup, ErrGroup)
Where to use WaitGroup Add method
Report a typo
Select one option from the list
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.