Documentation ¶
Overview ¶
Package pool contains a generic implementation of the worker pool pattern for concurrent processing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool interface { // Execute starts execution of the pool, returning an error that aggregates errors from all jobs (if any were encountered) Execute() error // NumWorkers returns the number of workers in the pool NumWorkers() int }
Pool implements the worker pool pattern for concurrent processing
Click to show internal directories.
Click to hide internal directories.