![]() 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. |
||
---|---|---|
.. | ||
AsyncTestingChannel.swift | ||
AsyncTestingEventLoop.swift | ||
Embedded.swift |