@zsmb thanks for the article! Here is a gist that demonstrates automatic cancellation.
https://gist.github.com/raulraja/d289db68db94462bfc03811a76810d66 These examples where created by
@simon.vergauwen and demonstrate how Arrow Fx wires cancellation checks across flatMap boundaries to ensure all dependent fibers are cancelled and no resources are wasted when your operation is composed of a large number of async and concurrent task. Cancellation also transports exceptions in fibers back to the caller inside IO to ensure you can wire safe resource handling when acquiring resources async that may be used in different context but they need to be released regardless of where exceptions happen.