mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Stream implement pipeThrough (#36977)
Part of https://github.com/servo/servo/issues/34676 https://github.com/servo/servo/pull/36905 needs to be merged first. --------- Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
parent
d8294fa423
commit
5b2305784a
16 changed files with 129 additions and 227 deletions
|
@ -721,8 +721,8 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'ReadableStream': {
|
||||
'canGc': ['GetReader', 'Cancel', 'PipeTo', 'Tee'],
|
||||
'inRealms': ['PipeTo'],
|
||||
'canGc': ['GetReader', 'Cancel', 'PipeTo', 'PipeThrough', 'Tee'],
|
||||
'inRealms': ['PipeTo', 'PipeThrough'],
|
||||
},
|
||||
|
||||
"ReadableStreamDefaultController": {
|
||||
|
|
|
@ -20,8 +20,8 @@ interface _ReadableStream {
|
|||
[Throws]
|
||||
ReadableStreamReader getReader(optional ReadableStreamGetReaderOptions options = {});
|
||||
|
||||
// [Throws]
|
||||
// ReadableStream pipeThrough(ReadableWritablePair transform, optional StreamPipeOptions options = {});
|
||||
[Throws]
|
||||
ReadableStream pipeThrough(ReadableWritablePair transform, optional StreamPipeOptions options = {});
|
||||
|
||||
[NewObject]
|
||||
Promise<undefined> pipeTo(WritableStream destination, optional StreamPipeOptions options = {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue