-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
dotnet/dotnet-api-docs
#4491Labels
Description
In the description of the options available for a Pipe (from System.IO.Pipelines) I can read:
pauseWriterThreshold
The number of bytes in the Pipe before FlushAsync(CancellationToken) starts blocking. A negative value prevents FlushAsync(CancellationToken) from ever blocking, effectively making the number of bytes in the Pipe unlimited.
But this is not reflected in the code: the real behavior is an exception or a default value. Given the value is read-only, there is no way to actually set this property as depicted.