mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
### Motivation: `EventLoopFuture.get()` violates Structured Concurrency in two ways: 1. It doesn't automatically propagate cancellation 2. It doesn't return control back on cancellation (1) is unfixable without user help but (2) we can address. ### Modifications: - Add `EventLoopFuture.getAbandoningOnCancel()` ### Result: - Users now have a way to at least get back control.