Skip to content
Sections
>> Trisquel >> Balíky >> aramo >> devel >> golang-github-nozzle-throttler-dev
nabia  ] [  aramo  ]

Balík: 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.

Stiahnuť golang-github-nozzle-throttler-dev

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 5.7 kB31 kB [zoznam súborov]