An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.5% on proxy.golang.org
Top 4.6% dependent packages on proxy.golang.org
Top 4.7% forks on proxy.golang.org

proxy.golang.org : github.com/dc0d/workerpool

Package workerpool provides a workerpool. It also can expand and shrink dynamically. Jobs can be queued using the Queue() method which also accepts a timeout parameter for timing out queuing and if all workers are too busy. For expanding the queue, Expand() method can be used, which increases the number of workers. If a timeout is provided, these extra workers will stop, if there are not enough jobs to do. It is also possible to explicitly stop extra workers by providing a quit channel.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/dc0d/workerpool
Keywords: concurrency , extra-workers , go , golang , goroutine , initial-workers , pool , worker-pool
License: MIT
Latest release: over 7 years ago
First release: over 5 years ago
Namespace: github.com/dc0d
Dependent packages: 1
Stars: 55 on GitHub
Forks: 5 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 10 days ago

    Loading...
    Readme
    Loading...