Skip to content

PipeOptions overrides default #476

@marco6

Description

@marco6

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions