Hi Andrew,

On Thu, Oct 25, 2018 at 11:56 AM <andrewchambe...@gmail.com> wrote:

> A mini library I came up with, let me know what you think:
>
> https://github.com/andrewchambers/bundle
>
> Introduces the concept of a bundle of goroutines.
>
> - All goroutines part of a bundle share a context.
> - The context is cancelled automatically when the bundle is garbage
> collected.
> - You can manually wait for a bundle to exit.
> - You can manually cancel a bundle.
>

it's well written, but at first sight,  it seems it has a lot of overlap
with x/sync/errgroup:
-  https://godoc.org/golang.org/x/sync/errgroup

could you summarize why someone should use "bundle" instead of "errgroup" ?
ie: what's the use case that's easier to handle with "bundle" ?

cheers,
-s

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to