stream: expose ReadableStreamTee#64195
Conversation
|
Review requested:
|
|
I don't know if we should be exposing this as a top-level function. At the very least, we should mark Ideally, we land on a solution in the Streams standard itself. The current proposal is to add an options bag to |
Signed-off-by: Matteo Collina <hello@matteocollina.com>
4430357 to
fb6e605
Compare
This would be great, but it doesn't look like browsers have any interest in implementing it, considering the issue is nearly 5 years old. |
|
@KhafraDev @MattiasBuelens should we expose this verbatim or change the name to |
|
ReadableStreamTee might be a little verbose. Honestly the only reason I didn't try implementing this myself was because I don't particularly like the verbose name, but didn't have any better ideas |
Refs: nodejs/undici#5358
Expose
ReadableStreamTee()so Fetch body clone can usecloneForBranch2.