Open
Description
PipeWriter
's PipeWriterStream
could reasonably support completing writes, so we should consider making it implement DuplexStream
. It is not technically a duplex stream and could make things messy if we add more APIs onto DuplexStream
. That said, anyone using the wrapper is already only using it only for writes, so it wouldn't be horrible to just have it throw on any future read-specific DuplexStream
APIs.
Alternately to avoid any confusion, we could add a new DuplexStream
-based type for wrapping a PipeWriter
/PipeReader
.