Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
11
func
New() *Pool {
12
return
&Pool{}
13
}
14
15
// Pool is a pool of goroutines used to execute tasks concurrently.
16
//
Callers
9
New
Function · 0.92
ExampleContextPool_WithCancelOnError
Function · 0.70
TestContextPool
Function · 0.70
NewWithResults
Function · 0.70
ExampleErrorPool
Function · 0.70
TestErrorPool
Function · 0.70
ExamplePool
Function · 0.70
TestPool
Function · 0.70
BenchmarkPool
Function · 0.70
Calls
no outgoing calls
Tested by
7
ExampleContextPool_WithCancelOnError
Function · 0.56
TestContextPool
Function · 0.56
ExampleErrorPool
Function · 0.56
TestErrorPool
Function · 0.56
ExamplePool
Function · 0.56
TestPool
Function · 0.56
BenchmarkPool
Function · 0.56