Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerPool ¶
type WorkerPool interface { Run() AddTask(task func()) GetAmountOfQueuedTasks() uint32 }
WorkerPool is a contract for Worker Pool implementation
func NewWorkerPool ¶
func NewWorkerPool(maxWorkers int) WorkerPool
Click to show internal directories.
Click to hide internal directories.