1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:57:44 +00:00

LibWeb: Expose the ReadableStream tee IDL interface

This just sets up the plumbing to the underlying ReadableStreamTee AO,
which as of this commit, will just throw a NotImplemented exception.
This commit is contained in:
Timothy Flynn 2024-01-28 10:28:59 -05:00 committed by Andreas Kling
parent 5ccd1ff1bf
commit d8413774df
5 changed files with 43 additions and 1 deletions

View file

@ -23,7 +23,7 @@ interface ReadableStream {
ReadableStreamReader getReader(optional ReadableStreamGetReaderOptions options = {});
// FIXME: ReadableStream pipeThrough(ReadableWritablePair transform, optional StreamPipeOptions options = {});
// FIXME: Promise<undefined> pipeTo(WritableStream destination, optional StreamPipeOptions options = {});
// FIXME: sequence<ReadableStream> tee();
sequence<ReadableStream> tee();
// FIXME: async iterable<any>(optional ReadableStreamIteratorOptions options = {});
};