[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032574: ITP: golang-github-fatih-semgroup -- like errgroup/waitgroup, but only runs a maximum of tasks at any time



Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@debian.org>

* Package name    : golang-github-fatih-semgroup
  Version         : 1.2.0-1
  Upstream Author : Fatih Arslan
* URL             : https://github.com/fatih/semgroup
* License         : BSD-3-clause
  Programming Lang: Go
  Description     : like errgroup/waitgroup, but only runs a maximum of tasks at any time

 semgroup provides synchronization and error propagation, for groups of
 goroutines working on subtasks of a common task.  It uses a weighted
 semaphore implementation to make sure that only a number of maximum
 tasks can be run at any time.
 .
 Unlike golang.org/x/sync/errgroup, it doesn't return the first non-nil
 error, rather it accumulates all errors and returns a set of errors,
 allowing each task to fullfil their task.


Reason for packaging: Needed by gitleaks


Reply to: