leangaurav
Sep 4, 2023

--

Hmmmm 🤔..
not exactly, the go routines may or may not start execution. Waiting on the waitgroup ensures we wait for go routines to finish.
The go routines are not added to the waitgroup actually. Waitgroup is mainly for signalling completion.
Good to hear it helped you 🙂.

--

--

leangaurav
leangaurav

Written by leangaurav

Engineer | Trainer | writes about Practical Software Engineering | Find me on linkedin.com/in/leangaurav | Discuss anything topmate.io/leangaurav

No responses yet