Open kmgreen2 opened 3 years ago
Going to put this on hold... The behavior is a bit weird, since we cannot tell the difference between a failure and an explicit cancel operation.
One way around this is to supply a cause to Cancel, but that also could be weird.
Basically need to cancel all futures that occur after a failed future, provided the future is required.
The current behavior is to fail all futures after a failed future. This is confusing, because all child futures have the same failure message as the originally failed future.
Here are examples based on the following chain: CreateFuture(r1).Then(r2).Then(r3).Then(r4) == f1, f2, f3, f4