diff options
author | Daeyeon Jeong <daeyeon.dev@gmail.com> | 2022-09-09 01:06:06 +0300 |
---|---|---|
committer | Juan José Arboleda <soyjuanarbol@gmail.com> | 2022-10-11 22:45:23 +0300 |
commit | 6ed33671558e5d0d8145a6308bd2fc3a6ca595c4 (patch) | |
tree | b416b1a881152f9f98925546a1748156ecb5b1ec /doc | |
parent | 9d24c7a8c7b2be2d7d6c7f7f7fa2e617a58d35ec (diff) |
stream: add `ReadableByteStream.tee()`
This supports teeing readable byte streams to meet
the latest web streams standards.
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
PR-URL: https://github.com/nodejs/node/pull/44505
Refs: https://streams.spec.whatwg.org/#readable-stream-tee
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/webstreams.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index 0fe9aeeba93..78df370979e 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -303,6 +303,10 @@ is active. <!-- YAML added: v16.5.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/44505 + description: Support teeing a readable byte stream. --> * Returns: {ReadableStream\[]} |