-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Open
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
What is the problem this feature will solve?
Currently, when creating a unidirectional or bidirectional stream, only fixed-size objects such as Uint8Arrays, Blobs, etc., are allowed.
Passing a stream is necessary if you want, for example, to implement WebTransport (as I do).
There is also a comment in the source that this is planned.
What is the feature you are proposing to solve the problem?
It should be possible to pass a ReadableStream of Uint8Arrays. (Even though it is a bit awkward to have to use ReadableStreams for one for incoming and one for outgoing data, and not a ReadableStream and WriteableStream).
If I have actually already implemented the fix and only need the issue for the upcoming PR. (Also some small but blocking bugs, discovered while writing a test, were fixed).
@jasnell I hope you do not mind.
What alternatives have you considered?
No response
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Type
Projects
Status
Awaiting Triage