Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chalk ¶
type Chalk struct { *sync.WaitGroup // Tasks channel receives `Task` functions and // adds them to the pool. Tasks chan Task // Errors handles communication of errors that may // occur when running a `Task` in the pool. Errors chan error }
Chalk wraps the `sync.WaitGroup` and the channels used to add tasks to the pool and return errors for the tasks in the pool.
Click to show internal directories.
Click to hide internal directories.