mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-27 05:04:22 +00:00
Motivation syncClose will block whatever thread it's on indefinitely. That makes it unsafe to call in async contexts. Modifications Add a new close() method that's async. Make the existing method unavailable from async. Add some tests. Results Easier to close these from async contexts