Documentation
¶
Overview ¶
The parallel package provides a way of running functions concurrently while limiting the maximum number running at once.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Run ¶
type Run struct {
// contains filtered or unexported fields
}
Run represents a number of functions running concurrently.
func NewRun ¶
NewRun returns a new parallel instance. It will run up to maxPar functions concurrently.
Click to show internal directories.
Click to hide internal directories.