Skip to content

Support ReadableByteStreamController in stream piping #36013

@gterzian

Description

@gterzian

As per the spec, it's up to the user agent to use a BYOBReader if possible, and #35650 defaults to always using a default reader.

It should be not complicated to support this, by using the same mechanism as streams themselves do(but without the option):

reader: RefCell<Option<ReaderType>>,

Part of #34676

Metadata

Metadata

Assignees

Labels

C-untriagedNew issues that haven't been triaged yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions