Skip to content

Commit

Permalink
Document that HalfDuplexStream is actually a "simplex" Stream
Browse files Browse the repository at this point in the history
Fixes #144
  • Loading branch information
AArnott committed Dec 9, 2019
1 parent cc5e03e commit 7ee578f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void ExistingPipe_DuplexPipe()
}

[Fact]
public void ExistingPipe_AcceptsHalfDuplex()
public void ExistingPipe_AcceptsSimplex()
{
var options = new MultiplexingStream.ChannelOptions();

Expand Down
1 change: 1 addition & 0 deletions src/Nerdbank.Streams/HalfDuplexStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace Nerdbank.Streams
/// <summary>
/// A <see cref="Stream"/> that acts as a queue for bytes, in that what gets written to it
/// can then be read from it, in order.
/// This is actually a "simplex" stream -- not a half duplex stream. Naming bug.
/// </summary>
public class HalfDuplexStream : Stream, IBufferWriter<byte>, IDisposableObservable
{
Expand Down

0 comments on commit 7ee578f

Please sign in to comment.