summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Streams/AbstractOperations.h
diff options
context:
space:
mode:
authorMatthew Olsson <matthewcolsson@gmail.com>2023-03-28 20:01:04 -0700
committerLinus Groh <mail@linusgroh.de>2023-04-01 23:43:07 +0100
commit36ca1386e8cf72dca8ea6ec1bfb0ac8f509c614f (patch)
treec4d261917869603f8e5081eec3f281027278da3c /Userland/Libraries/LibWeb/Streams/AbstractOperations.h
parentd8710aa6047d5c68c5ab0427603f2fab8b43adde (diff)
downloadserenity-36ca1386e8cf72dca8ea6ec1bfb0ac8f509c614f.zip
LibWeb: Add ReadableStream.locked/cancel()/getReader()
Diffstat (limited to 'Userland/Libraries/LibWeb/Streams/AbstractOperations.h')
-rw-r--r--Userland/Libraries/LibWeb/Streams/AbstractOperations.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Streams/AbstractOperations.h b/Userland/Libraries/LibWeb/Streams/AbstractOperations.h
index bb67fa4043..593188fca6 100644
--- a/Userland/Libraries/LibWeb/Streams/AbstractOperations.h
+++ b/Userland/Libraries/LibWeb/Streams/AbstractOperations.h
@@ -19,6 +19,7 @@ using PullAlgorithm = JS::SafeFunction<WebIDL::ExceptionOr<JS::GCPtr<WebIDL::Pro
using CancelAlgorithm = JS::SafeFunction<WebIDL::ExceptionOr<JS::GCPtr<WebIDL::Promise>>(JS::Value)>;
using StartAlgorithm = JS::SafeFunction<WebIDL::ExceptionOr<JS::GCPtr<WebIDL::Promise>>()>;
+WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStreamDefaultReader>> acquire_readable_stream_default_reader(ReadableStream&);
bool is_readable_stream_locked(ReadableStream const&);
void readable_stream_close(ReadableStream&);