Documentation
¶
Overview ¶
Package pool provides a true worker pool implementation with job queue and context support.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job represents a unit of work to be executed by the pool
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool represents a pool of workers with a job queue
func (*Pool) IsShuttingDown ¶
IsShuttingDown returns true if the pool is shutting down
func (*Pool) QueueCapacity ¶
QueueCapacity returns the maximum queue capacity
Click to show internal directories.
Click to hide internal directories.