Versions in this module Expand all Collapse all v1 v1.2.0 Jul 6, 2021 v1.1.0 Jun 18, 2021 Changes in this version + type Pool struct + Tasks []*Task + func NewPool(tasks []*Task, concurrency int) *Pool + func (p *Pool) Run() + type Task struct + Err error + func MapTask(task func(arg TaskArg) func() error, args []TaskArg) (tasks []*Task) + func NewTask(f func() error) *Task + func (t *Task) Run(wg *sync.WaitGroup) + type TaskArg interface