MCPcopy Index your code
hub / github.com/sourcegraph/conc / NewWaitGroup

Function NewWaitGroup

waitgroup.go:10–12  ·  view source on GitHub ↗

NewWaitGroup creates a new WaitGroup.

()

Source from the content-addressed store, hash-verified

8
9// NewWaitGroup creates a new WaitGroup.
10func NewWaitGroup() *WaitGroup {
11 return &WaitGroup{}
12}
13
14// WaitGroup is the primary building block for scoped concurrency.
15// Goroutines can be spawned in the WaitGroup with the Go method,

Callers 1

TestWaitGroupFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestWaitGroupFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…