mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Motivation: Previously in `flushNow()` we had an odd case: A loop that could never loop. Also `flushNow()` returns a boolean with a complicated meaning: - `true`: We wrote everything, so we don't need to be registered for writing - `false`: We couldn't write everything, write notification necessary Modifications: Removed the non-loop & made the odd bool an enum. Result: code easier to read.