Skip to content
Sections
>> Trisquel >> Pakete >> aramo >> devel >> golang-github-nozzle-throttler-dev
nabia  ] [  aramo  ]
[ Quellcode: golang-github-nozzle-throttler  ]

Paket: golang-github-nozzle-throttler-dev (1.1-2)

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.

golang-github-nozzle-throttler-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 5,7 kB31 kB [Liste der Dateien]