Comment by Cyph0n

Comment by Cyph0n 12 hours ago

1 reply

Context cancellation is not always desirable. I personally have been bitten multiple times by the default behavior of errgroup.

CamouflagedKiwi 11 hours ago

You have to explicitly propagate the group's context if you want it to cancel. You can just not do that if you don't want - there certainly are cases for that.