Paket: golang-github-nozzle-throttler-dev (1.1-4)
Links für golang-github-nozzle-throttler-dev
Quellcode-Paket golang-github-nozzle-throttler herunterladen:
- Homepage [github.com]
Fill the gap between WaitGroup and manually monitor goroutines with channels
The API is almost identical to WaitGroups, but it allows you to set a max number of workers that can be running simultaneously. It uses channels internally to block until a job completes by calling Done() or until all jobs have been completed. It also provides a built in error channel that captures your goroutine errors and provides access to them as error after you exit the loop.