Versions in this module Expand all Collapse all v1 v1.0.9 Nov 6, 2024 Changes in this version + func ExampleRunInParallel() + func RunInParallel(num, parallelism int, theFunc interface{}) + type Dispatcher struct + func NewDispatcher(parallelism int, workHandler WorkHandler) *Dispatcher + func (d *Dispatcher) Start() *Dispatcher + func (d *Dispatcher) Submit(job Job) + func (d *Dispatcher) Wait() + type Job interface + GetData func() interface{} + type WorkHandler interface + HandleJob func(job Job)