1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

LibWeb: Add the ReadableStreamGenericReader mixin interface

This commit is contained in:
Matthew Olsson 2023-03-28 17:43:34 -07:00 committed by Linus Groh
parent f409f68a9a
commit fe69d66a4e
9 changed files with 189 additions and 3 deletions

View file

@ -0,0 +1,6 @@
// https://streams.spec.whatwg.org/#readablestreamgenericreader
interface mixin ReadableStreamGenericReader {
readonly attribute Promise<undefined> closed;
Promise<undefined> cancel(optional any reason);
};