Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Add(*func()) Stop() }
Interface of a workerqueue.
func NewWorkerQueue ¶
NewWorkerQueue creates new WorkerQueue with worker group of given size.
type WorkerQueue ¶
type WorkerQueue struct {
// contains filtered or unexported fields
}
WorkerQueue is worker group with a task queue.
Click to show internal directories.
Click to hide internal directories.