mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
* Add support for unidirectional `NIOPipeBootstrap` # Motivation In some scenarios, it is useful to only have either an input or output side for a `PipeChannel`. This fixes https://github.com/apple/swift-nio/issues/2444. # Modification This PR adds new methods to `NIOPipeBootstrap` that make either the input or the output optional. Furthermore, I am intentionally breaking the API for the new async methods since those haven't shipped yet to reflect the same API there. # Result It is now possible to bootstrap a `PipeChannel` with either the input or output side closed. * Docs and naming