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.