All challenges
Multiple ChoiceBeginner 180s

Go: WaitGroup

What does wg.Wait() do?
Options
  1. 1Starts goroutines for queued tasks
  2. 2Blocks until counter is zero
  3. 3Adds to counter before waiting
  4. 4Cancels goroutines blocked waiting

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle