Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(quota int) concurrency.Runner
Creates new concurrency Runner with specified quota on the maximum number of concurrently running functions. Returns concurrency.Runner interface The "quota" argument is in range [1..math.MaxInt32] if specified value is outside of this range the quota falls back to the number of CPU cores, as runtime.GOMAXPROCS(0)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.