Registry / utility / gammazero-workerpool

gammazero-workerpool

JSON →
library1.2.1gogounverified

Workerpool queues work to a limited number of goroutines, limiting concurrency of task execution.

go get github.com/gammazero/workerpool
INSTALL
IMPORT
SIG · GAMMAZERO-WORKERPO
G
gammazero-workerpool
utilitygov1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

workerpool
github.com/gammazero/workerpool

Create a worker pool with 2 workers and submit a task

package main import ( "fmt" "github.com/gammazero/workerpool" ) func main() { wp := workerpool.New(2) wp.Submit(func() { fmt.Println("task") }) wp.StopWait() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
gammazero-workerpool — go get gammazero-workerpool · libregistry