proxy.golang.org : github.com/ygrebnov/workers
Package workers provides a lightweight way to execute multiple tasks concurrently using either a dynamic or a fixed-size worker pool. Constructors Defaults Unless overridden, the following defaults apply to a newly created instance: Channel lifecycle The library exposes two channels: The library does not close these channels automatically. The recommended pattern is to drain channels while tasks are running and close them in application code once you know there will be no more messages (e.g., after a WaitGroup is done). Pools
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/ygrebnov/workers
License: MIT
Latest release: 2 months ago
First release: 10 months ago
Namespace: github.com/ygrebnov
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 30 days ago