Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Workers ¶
type Workers struct {
// contains filtered or unexported fields
}
Workers provides a bounded semaphore with the ability to wait until all concurrent jobs finish.
func New ¶
New creates a Workers object which allows up to n jobs to proceed concurrently. n must be > 0.
Click to show internal directories.
Click to hide internal directories.