GitShow/fatih/semgroup
fatih

semgroup

Like errgroup/waitgroup, but only runs a maximum of tasks at any time.

by fatih
concurrencyerrgroupgogolangsemaphorewaitgroup
Star on GitHubForkWebsite

Go

320 stars16 forks7 contributorsQuiet · 1y agoSince 2022v1.3.0BSD-3-Clause

Meet the team

See all 7 on GitHub →
fatih
fatih9 contributions
ahmetb
ahmetb1 contribution
ebati
ebati1 contribution
Integralist
Integralist1 contribution
matsuyoshi30
matsuyoshi301 contribution
siretart
siretart1 contribution
tshak
tshak1 contribution

Languages

View on GitHub →
Go100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
siretart
chore: bump x/sync to 0.7MergedPR

Note that this version changes the behavior of semaphore slightly. After https://cs.opensource.google/go/x/sync/+/14be23e5b48bec28285f8a694875175ecacfddb3 the semaphore package will reliably raise errors for both go routines change the test to test for a substring to be more relaxed in case that behavior gets reverted

siretart · 1y ago
ahmetb
Proposal: expose MultiErrorMergedPR

One of the great things about semgroup over x/sync/errgroup is that it actually waits all tasks to complete and returns an error. However, the returned error type doesn't let the caller to iterate over the errors (e.g. my use case requires me to truncate the list of errors). Therefore, introducing a backwards-compatible change that exports type, and guarantees that method returns an error of this type.

ahmetb · 1y ago
fatih
Bump `x/sync` to v0.8.0MergedPR
fatih · 1y ago
Structured data for AI agents

Repository: fatih/semgroup. Description: Like errgroup/waitgroup, but only runs a maximum of tasks at any time. Stars: 320, Forks: 16. Primary language: Go. Languages: Go (100%). License: BSD-3-Clause. Homepage: https://pkg.go.dev/github.com/fatih/semgroup Topics: concurrency, errgroup, go, golang, semaphore, waitgroup. Latest release: v1.3.0 (1y ago). Open PRs: 0, open issues: 0. Last activity: 1y ago. Community health: 42%. Top contributors: fatih, ahmetb, ebati, Integralist, matsuyoshi30, siretart, tshak.

·@ofershap

Replace github.com with gitshow.dev