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

Function New

pool/pool.go:11–13  ·  view source on GitHub ↗

New creates a new Pool.

()

Source from the content-addressed store, hash-verified

9
10// New creates a new Pool.
11func New() *Pool {
12 return &Pool{}
13}
14
15// Pool is a pool of goroutines used to execute tasks concurrently.
16//

Callers 9

NewFunction · 0.92
TestContextPoolFunction · 0.70
NewWithResultsFunction · 0.70
ExampleErrorPoolFunction · 0.70
TestErrorPoolFunction · 0.70
ExamplePoolFunction · 0.70
TestPoolFunction · 0.70
BenchmarkPoolFunction · 0.70

Calls

no outgoing calls

Tested by 7

TestContextPoolFunction · 0.56
ExampleErrorPoolFunction · 0.56
TestErrorPoolFunction · 0.56
ExamplePoolFunction · 0.56
TestPoolFunction · 0.56
BenchmarkPoolFunction · 0.56