MCPcopy Create free account

hub / github.com/sourcegraph/conc / functions

Functions112 in github.com/sourcegraph/conc

MethodWithContext
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
MethodWithErrors
WithErrors converts the pool to an ResultErrorPool so the submitted tasks can return errors.
pool/result_pool.go:52
MethodWithFirstError
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
MethodWithFirstError
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
MethodWithFirstError
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
MethodWithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/result_context_pool.go:67
MethodWithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/result_pool.go:72
MethodWithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/context_pool.go:86
MethodWithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/error_pool.go:65
MethodWithMaxGoroutines
WithMaxGoroutines limits the number of goroutines in a pool. Defaults to unlimited. Panics if n < 1.
pool/result_error_pool.go:72
Methodcallbacker
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
Methodworker
()
pool/pool.go:148
← previous101–112 of 112, ranked by callers