mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation Testing versions of NIO code that involve interfacing with Swift Concurrency is currently a difficult business. In particular, EmbeddedChannel is not available in Swift concurrency, making it difficult to write tests where you fully control the I/O. To that end, we should provide a variation of EmbeddedChannel that makes testing these things possible. Modifications Provide an implementation of NIOAsyncTestingChannel. Results Users can write tests confidently with async/await.