//
pkg.gl
Category
github.com/hardfinhq/npm-mod
pkg
concurrency
package
1.20220526.1
Repository:
https://github.com/hardfinhq/npm-mod.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
79 SLOC
#
Functions
NewPool
NewPool initializes a new pool with the given tasks and at the given concurrency.
NewTask
NewTask creates a new task based on a given work function.
#
Structs
Pool
Pool is a worker group that runs a number of tasks at a configured concurrency.
Task
Task encapsulates a work item that should go in a worker pool.