Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sourcegraph/conc
/ functions
Functions
112 in github.com/sourcegraph/conc
⨍
Functions
112
◇
Types & classes
18
Method
WithContext
WithContext converts the pool to a ResultContextPool for tasks that should run under the same context, such that they each respect shared cancellation
pool/result_error_pool.go:55
Method
WithErrors
WithErrors converts the pool to an ResultErrorPool so the submitted tasks can return errors.
pool/result_pool.go:52
Method
WithFirstError
WithFirstError configures the pool to only return the first error returned by a task. By default, Wait() will return a combined error.
pool/result_context_pool.go:50
Method
WithFirstError
WithFirstError configures the pool to only return the first error returned by a task. By default, Wait() will return a combined error. This is particu
pool/context_pool.go:64
Method
WithFirstError
WithFirstError configures the pool to only return the first error returned by a task. By default, Wait() will return a combined error.
pool/result_error_pool.go:64
Method
WithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/result_context_pool.go:67
Method
WithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/result_pool.go:72
Method
WithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/context_pool.go:86
Method
WithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/error_pool.go:65
Method
WithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/result_error_pool.go:72
Method
callbacker
callbacker is responsible for calling the returned callbacks in the order they were submitted. There is only a single instance of callbacker running.
stream/stream.go:121
Method
worker
()
pool/pool.go:148
← previous
101–112 of 112, ranked by callers