Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
Task provides a pool of goroutines that can execute any Worker tasks that are submitted.
func New ¶
New creates a new work pool. instanced with singleton pattern beacuse used centrally as worker pool based on CPU resources
Click to show internal directories.
Click to hide internal directories.