Documentation
¶
Index ¶
- type Parallel
- func (parallel *Parallel) Cancel(err error)
- func (parallel *Parallel) OnData(listener func(task Task)) *Parallel
- func (parallel *Parallel) OnETA(listener func(current int, total int, eta time.Duration)) *Parallel
- func (parallel *Parallel) OnFinish(listener func()) *Parallel
- func (parallel *Parallel) Run(data interface{}, concurrency int) (err error)
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parallel ¶
type Parallel struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.