Thanks for your response.
Got it.

On Wed, 27 May, 2020, 6:22 PM Tamás Gulácsi, <tgulacs...@gmail.com> wrote:

> errgroup does not terminate.
> But will signal the (sub)context returned by WithContext when any
> goroutine returns with an error.
>
> So if your functions handle the context cancelation by exiting, then you
> can cancel other goroutines.
>
> I asvice using such sub context with requests, too.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/7d6b7a91-3af7-48d0-acf9-2bdcdb25e57d%40googlegroups.com
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAORUUQVcwhYe-Dr8WX1daY-CG1SLcEhA8YOPSundD5jgZC9tUA%40mail.gmail.com.

Reply via email to