Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerPool ¶
type WorkerPool struct {
// contains filtered or unexported fields
}
func NewWorkerPool ¶
func NewWorkerPool(size int) *WorkerPool
func (*WorkerPool) AddTask ¶
func (p *WorkerPool) AddTask(task Task)
func (*WorkerPool) CloseAndWait ¶
func (p *WorkerPool) CloseAndWait() []error
Click to show internal directories.
Click to hide internal directories.