But how does one elegantly stop a chain of futures from executing when one is no longer interested in the final outcome of this chain of futures?
Technically all tasks can be collected in a list and then you just cancel everything in the list but I have yet to find a scenario where I've needed this.
https://github.com/twitter/util/blob/master/util-core/src/ma...