Message311527
currently gather/wait allow you to return on the first exception and leave the children executing.
A very common use case that I have is of launching multiple tasks, and if any of them fail, then all should fail..otherwise the other tasks would continue running w/o anyone listening for the results. To accomplish this I wrote a method like the following: https://gist.github.com/thehesiod/524a1f005d0f3fb61a8952f272d8709e. I think it would be useful to many others as on optional perhaps a parameter to each of these methods.
What do you guys think? |
|
Date |
User |
Action |
Args |
2018-02-02 23:29:02 | thehesiod | set | recipients:
+ thehesiod, asvetlov, yselivanov |
2018-02-02 23:29:02 | thehesiod | set | messageid: <1517614142.6.0.467229070634.issue32754@psf.upfronthosting.co.za> |
2018-02-02 23:29:02 | thehesiod | link | issue32754 messages |
2018-02-02 23:29:02 | thehesiod | create | |
|