xsync: New package with xsync.WorkGroup
Add xsync.WorkGroup that is similar to https://godoc.org/golang.org/x/sync/errgroup, but amends it with a bit better (imho) design where work context is explicitly passed into worker (see also [1]). This mirrors sync.WorkGroup that we already have at Pygolang side [2]. [1] https://github.com/golang/go/issues/34510 [2] https://pypi.org/project/pygolang/#concurrency
Showing
xsync/xsync.go
0 → 100644
xsync/xsync_test.go
0 → 100644
-
mentioned in commit pygolang@d0179796
-
mentioned in commit git-backup@6af054b0
-
mentioned in commit neo@ab7c6d27
-
mentioned in commit neo@09185538
-
mentioned in commit neo@8889743e
-
mentioned in commit neo@3f12d2a5
-
mentioned in commit neo@d44994d6
Please register or sign in to comment