import "github.com/gohugoio/hugo/common/para"
Package para implements parallel execution helpers.
Runner wraps the lifecycle methods of a new task set.
Run wil block until a worker is available or the context is cancelled, and then run the given func in a new goroutine. Wait will wait for all the running goroutines to finish.
type Workers struct {
// contains filtered or unexported fields
}
Workers configures a task executor with the most number of tasks to be executed in parallel.
New creates a new Workers with the given number of workers.
Start starts a new Runner.
Package para imports 2 packages (graph) and is imported by 6 packages. Updated 2020-12-26. Refresh now. Tools for package owners.