mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
# Motivation We recently provided testing utilities for the `NIOAsyncChannelInboundStream`. On thing that was missing is a way to finish the stream with an error. # Modification This PR provides a `finish()` method that takes an error which is thrown from the inbound stream. # Result Better way to test code relying on the AsyncChannel work.