The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.

Download Latest Version v0.3.0 source code.tar.gz (23.0 kB)
Email in envelope

Get an email when there's a new version of conc

Home / v0.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-01-17 1.1 kB
v0.2.0 source code.tar.gz 2023-01-17 37.1 kB
v0.2.0 source code.zip 2023-01-17 50.6 kB
Totals: 3 Items   88.8 kB 0

Some notable changes in this release:

  • pool: ContextPool and ResultContextPool no longer cancel on the first task that errors by default. To enable cancellation on first error, use WithCancelOnError.
  • panics: conc.PanicCatcher and conc.RecoveredPanic have been moved to a new subpackage, panics.
  • iter: Added iter.Iterator and iter.Mapper for configurable concurrency on ForEach, Map, and friends. The top-level iter.ForEach, etc will continue to work as before.
  • conc: Added WaitGroup.WaitAndRecover, which returns any recovered panics instead of re-panicking them.

Full changelog: https://github.com/sourcegraph/conc/compare/v0.1.0...v0.2.0

Some of the changes listed above are breaking changes - this package is currently pre-1.0, and there are likely to be other breaking changes before a 1.0 release as we stabilize the APIs and tweak defaults. Please open an issue if you have questions, concerns, or requests that you'd like addressed before the 1.0 release. Currently, a 1.0 is targeted for March 2023.

Source: README.md, updated 2023-01-17